on 04-26-2014 12:11 PM
Hi Experts,
We have a requirement to uncheck the Send Notification check box by custom script in supplier's contact account mangement tab while page loading while creating new contact for the supplier. I have attached screen shot for reference.
I have searched several API Java classe for get and set methods for this Send notification field but no luck.
If anyone have an idea about get and set methods for this field please share.
Help would be appreciated and points awarded!
Thanks,
Lava.
Hi Lava,
Inorder to uncheck the Send Notification checkbox while loading the page you have to write the script targeting the class Contact(600) and target as Loaded.
Include below lines in your custom script (contact onload Script)
doc.getFieldMetadata("SEND_NOTIFICATION").set(doc,FALSE);
You can create it in On create Script also.
Hope it helps.
Thanks,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajshekhar,
Thanks for your reply.
I have wrriten the script targeting the class Contact(600) and target as Loaded. i have included mentioned line but no luck.
When i have tried with target as Validate it is throwing an error.
Error: A reflection error occurred accessing the object.
Do we need to include any extra code in script? if yes can you please share with us.
Thanks in advance!
Regards,
Lava.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.