Hi all,
I've got a quick question on how to pass a form field attribute as a parameter in the url of the website iframe. I'll give you the situation:
I want to put a iframe which loads the website (url: "https://test.website.com/user/") and the parameter string on change of a tab (expand or collapse) to the end of the url e.g. "https://test.website.com/user/<parameter>". I've seen an article on this to improve performance of the form here. The iframe is put in a form within the Accounts entity and I want to retrieve a field attribute from the contact (field name "new_attributefield") in the Primary Contact lookup field against the account (field name "primarycontactid".
I've created the form tab and have it collapsed by default and inserted the iframe into the tab. I'm just a little lost as to what to put into the webresource javascript so that it passes the parameter to the end of the URL. The nuance is that the field attribute isn't on accounts but from the contact referenced in the primary contact lookup field.
I tried using the javascript provided in the cobalt site but the script wasn't working. Any help would be greatly appreciated.
Kind regards,
Michael
*This post is locked for comments