Highlighted
Trusted Contributor.
Trusted Contributor.
130 views

4.7.3 opening prd from javascript

In the earlier version of User Application (4.7.0 and before) using IDMProv we could open a PRD from javascript by calling window.location(<PRD link with Query Parameters>) this not longer works when the PRDs are opened in the same window as idmdash runs.

We have no issues opening new PRDs when the process starts with a PRD from the tiles. But now I have an approval workflow that wants to open a PRD for further action. This does not longer work with calling:

https://<user app>/IDMProv/requestForm.do?PersonId=<some value>&ContextId=<some other value>&Caller=ContextSupplement&uid=cn%3DContextUpdate%2Ccn%3Drequestdefs%2Ccn%3Dappconfig%2Ccn%3Didv - ua01%2Ccn%3Ddriver set%2Cou%3Didm%2Co%3Dservices&idmdash=true&aqua=true&recipient=&jsa={"submit"%3A"submitThenOpener(3000)"%2C"cancel"%3A"window.close()"}

Because this opens the PRD in the main window and not as an iframe in the idmdash window.

Anybody any thoughts on how to get this behavior in the idmdash framework?

Labels (1)
0 Likes
1 Reply
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: 4.7.3 opening prd from javascript

 After a long morning trying and finding the solution lays in overwrite the SubmitThenOpener function. We already have our own functionality here because we don't like the default behavior. In this function you can open a PRD while still being in the tasks tab. The window to call is window in stead of window.parent what you need when in the Applications tab.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.