Copy user profile  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Copy user profile

Postby DannyC » Tue Sep 07, 2021 4:15 pm

I stumbled across this plugin while looking for a script to copy user profiles from one user to another.
https://service.jiwa.com.au/browse/DEV-7485

I loaded it up, but as soon as a click the staff custom field I get an error "object reference not set to an instance of an object".
I've tried to debug it myself to get it working but there seems to be something inherent in the staff entity which is triggering the error. Thing is when debugging in VS I can't see anything which is null.

Would be a nice little plugin.
User avatar
DannyC
Senpai
Senpai
 
Posts: 718
Joined: Fri Mar 22, 2013 12:23 pm
Topics Solved: 31

Re: Copy user profile

Postby Mike.Sheen » Tue Sep 07, 2021 4:23 pm

That plugin was made for 7.00.175.00 - and I suspect it works fine on that version.

Are you using a later version of Jiwa? If so, then the plugin will need to have some minor adjustments made as documented in the article How to convert plugins or code to be compatible with 7.00.177.00 or later.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Copy user profile  Topic is solved

Postby Mike.Sheen » Tue Sep 07, 2021 4:46 pm

DEV-7485 has been updated with a version of the plugin that works with 7.2.1
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests