Question
Accenture
IN
Last activity: 10 Mar 2016 1:13 EST
OpenURLInSpace opens in pop up instead of work area in composite portal
I m converting my traditional portal to composite portal.
In my application most of the places OpenURLInSpace. is used.
When I convert my traditional portal to composite portal , whenever OpenURLInSpace is called , it opens in popup, instead of work area, as compared to traditional portal the same function opens in work area and not pop up.
What can I do to fix this ?
I have to use OpenURLInSpace / similar function because there are lot of places where this method is used which calls activity and in this activity we decide which harness / list view should be loaded.
Note : I m now using Pega 7.1.7
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 4 Feb 2016 9:03 EST
Pegasystems Inc.
US
Hello!
I took a look at the SR that was generated based on this thread and I found that the following SA-18623: OpenURLInSpace opens in a Pop Up instead of Work Area was generated as the result. Please refer to this SA if you are having the same question.
Accenture
IN
Any Comments?
Accenture
IN
found a function compositeOpenURLInSpace.
But that does not trigger any anything.
Is this function similar to openURLInSpace, but should be used in Composite Portal? But it did not worked in Composite Portal.
Accenture
IN
any expert comment?
Pegasystems Inc.
IN
Can you try using below:
pega.desktop.openUrlInSpace(strUrlInput,'_self','false');
Accenture
IN
will try it and share the result
Accenture
IN
Arvind Malav, thanks for the solution. It worked in most(90%) of the place except the following scenario.
Firing the pega.desktop.openUrlInSpace(strUrlInput,'_self','false') left pane and expecting the output to be placed in the right hand side
The way we do in traditional portal.
Thanks for the Help,
Was stuck in this issue for long and did not received help from any where .
Accenture
IN
Any one any suggestion for this ? the remaining 10% issue? opening the url from left pane to right pane.
I can write custom javascript for this, but I want to stay from those script..
Suggest me some solution for this..
Accepted Solution
Updated: 4 Feb 2016 9:03 EST
Pegasystems Inc.
US
Hello!
I took a look at the SR that was generated based on this thread and I found that the following SA-18623: OpenURLInSpace opens in a Pop Up instead of Work Area was generated as the result. Please refer to this SA if you are having the same question.
Updated: 4 Feb 2016 4:25 EST
Accenture
IN
Can you please post the solution here
Pegasystems Inc.
US
SA-18623 reads as follows:
SUMMARY
User upgraded from 6.2 to 7.1.7. They are converting their traditional portals to composite portals. In their application they are using OpenURLInSpace which opens as popup instead of work area unlike old version.
ERROR MESSAGES
No error message
STEPS TO REPRODUCE
1. Create a composite portal , with screen layout "top left"
2. Create a section for left plane use html where you can use OpenURLInSpace on button click, OR create a list view on right pane where onclick is configured to call OpenURLInSpace which calls an activity to do Show-Harness
Expected Result:
It should open the url in workspace
Actual Result:
It opens the url in a popup
ROOT CAUSE
An issue in the custom application code or rules.
OpenURLInSpace is mainly for fixed portals to open URL in a specific space.
In composite portals, to open in a popup, use the "rulebyurl", "spacehomewithurl", "listbybasket", "listbyurl", "listbyuser" actions.
RESOLUTION
Perform the following local-change:
SA-18623 reads as follows:
SUMMARY
User upgraded from 6.2 to 7.1.7. They are converting their traditional portals to composite portals. In their application they are using OpenURLInSpace which opens as popup instead of work area unlike old version.
ERROR MESSAGES
No error message
STEPS TO REPRODUCE
1. Create a composite portal , with screen layout "top left"
2. Create a section for left plane use html where you can use OpenURLInSpace on button click, OR create a list view on right pane where onclick is configured to call OpenURLInSpace which calls an activity to do Show-Harness
Expected Result:
It should open the url in workspace
Actual Result:
It opens the url in a popup
ROOT CAUSE
An issue in the custom application code or rules.
OpenURLInSpace is mainly for fixed portals to open URL in a specific space.
In composite portals, to open in a popup, use the "rulebyurl", "spacehomewithurl", "listbybasket", "listbyurl", "listbyuser" actions.
RESOLUTION
Perform the following local-change:
Suggested user to either
- configure autogenerated actions like openWorkItem, openWorkByHandle, Create New Work, launch harness. (OR)
- launch using the below API as it is not possible for the customer to convert it to auto generated sections.
openSpace("Work", url, "formbyurl")
Accenture
IN
Thanks for posting it here. âº
Pegasystems Inc.
US
You're welcome!
Hi Rasiya,
We also faced to the same problem & i have tried open space function also, but its also not works for us.Is that work for you?
If its , can you please share the steps, & functions params you have used.
Thanks,
Chathurika
Hi Marissa,
We also faced the same problem with "openUrlInSpace" function& we tried OpenSpace as suggested in the SR.But its also not working for us.Can you please give the parameters we have to use?
Thanks,
Chathurika
Pegasystems Inc.
IN
Please try openWorkByURL(url) . It internally calls openSpace("Work", url, "formbyurl") . Do you have a workarea configured in the composite portal ?