Question
Galax E Solutions
IN
Last activity: 26 Aug 2020 8:17 EDT
onclick of a link/image document should open in a new window
On click of a link/image, I need to open a document in a separate window. I have a user guide document and every time when we click on that link/image the same document should open. Can any one pls with high priority.
Message was edited by: Lochan to modify Category
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Maruthi,
1. Create a property to hold the URL of the document.
2. Create a button or link or image and in properties, select actions tab
3. Click on add an event and select event as 'Click'. Click on Add an action for the event and under Launch select 'Open URL in window' as below
4. The action can be configured by selecting 'Use Alternate Domain Checkbox' and setting the URL property in the Alternate domain URL as shown below.
-
sreelatha kamatham
Galax E Solutions
IN
Can you please elaborate how to create the property to hold URL of the document please. The property should placed on any server or it was in pega end ?
Pegasystems Inc.
US
Hi Maruthi,
You can follow the below steps:
Create a text type property (MyURL).
Create a Data Transform to set the "URL" which displays the document to the text property.
Add the above Data Transform in the Flow Action which calls the section. The section contains a link to launch the URL.
The section's configuration. By click on the link (you can also use button), you can launch the URL specified in the "Open URL in Window" action.
Hi Maruthi,
You can follow the below steps:
Create a text type property (MyURL).
Create a Data Transform to set the "URL" which displays the document to the text property.
Add the above Data Transform in the Flow Action which calls the section. The section contains a link to launch the URL.
The section's configuration. By click on the link (you can also use button), you can launch the URL specified in the "Open URL in Window" action.
Thanks,
Susan
Pegasystems Inc.
US
In my example, I used Data Transform to set the property. There are other ways to do it. for example, use activity (Property-Set method) to set it.
Galax E Solutions
IN
Thank you very much Susan Liu. But instead of DT we can directly provide the link in "Alternate Domain URL" ?? Will it works ?
Accepted Solution
Pegasystems Inc.
US
-
surya chandra t Shivangi Bagga Priyankadevi P