Absent Member.. AlfredoMonasi Absent Member..
Absent Member..
441 views

Custom link problem

Jump to solution

Hi everyone!,

 

I'm having a strange behavior with a custom link. I created a field with a textfield validation of 200 charaters, in read only mode. The value of the link is calculated with a simple rule, which sets this value:

 

<!--HTML--><a target="_blank" href="/itg/fm/FinancialSummary.do?fsId=31146">Central de Riesgos por Operación - CRO</a>

 

The purpose is to open the Financial Summary in a new window (like the original one does) in order to edit the FS. The problem is that the link is opened but in the same Windows that the project and show as container of the detail summary tab.

 

When I tried to edit the FS, the window i reload again in the project page and the table is empty despise there are records on the FS.

 

Anyone can give me a tip of what can be happening???

 

Regards,

Alfredo

0 Likes
1 Solution

Accepted Solutions
Absent Member.. alex-h Absent Member..
Absent Member..

Re: Custom link problem

Jump to solution

We use target="_new" : open the link on a new tab.

3 Replies
Absent Member.. alex-h Absent Member..
Absent Member..

Re: Custom link problem

Jump to solution

We use target="_new" : open the link on a new tab.

Derek Giedd Honored Contributor.
Honored Contributor.

Re: Custom link problem

Jump to solution

Here is the code for a Page Load Rule we use with the Request ID as a dependency and the FS field as a result.  Just change the server name.  This opens the FS in a new window.

 

SELECT CASE WHEN nvl('[REQ.REQUEST_ID]','x') = 'x' THEN NULL
         ELSE '<!--HTML--><a href='|| REPLACE(VALUE,'.com/','.com')||'/itg/fm/FinancialSummary.do?fsId='||p.prj_financial_summary_id||'  target="_blank">'||'Financial Summary'||'</a>'
         END,
       CASE WHEN nvl('[REQD.VP.EPM_PROJECT_NO]','x') = 'x' THEN NULL
         ELSE '<!--HTML--><a href='|| REPLACE(VALUE,'.com/','.com')||'/itg/fm/FinancialSummary.do?fsId='||p.prj_financial_summary_id||'  target="_blank">'||'Financial Summary'||'</a>'
         END
  FROM knta_app_server_properties A, kcrt_fg_pfm_project p
 WHERE KEY = 'BASE_URL'
   AND server_name = '__CLUSTER_DEFAULT__'
   and p.request_id = '[REQ.REQUEST_ID]'
-- Remember to give Kudos to answers! (click the KUDOS star)
0 Likes
Absent Member.. AlfredoMonasi Absent Member..
Absent Member..

Re: Custom link problem

Jump to solution

Hi Alex,

 

the target _new doesnt exist in HTML, what would do is to find a TAB or page called new and open the page there, could be useful if I set a page name different or dynamic could work.

 

Like I said, sometimes the link works fine and sometimes dont, seems like a browser behavior.

 

Thanks for your comments!

 

Alfredo

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.