window.location="{!#LINK.objname#action123456}"; - How do I locate the Template Token this is related to? - Forum - Rollbase - Progress Community

window.location="{!#LINK.objname#action123456}"; - How do I locate the Template Token this is related to?

 Forum

window.location="{!#LINK.objname#action123456}"; - How do I locate the Template Token this is related to?

This question is answered

I am investigating an app created by another party, and there are Buttons setup with Javascript actions like the following:

window.location="{!#LINK.objname#action123456}";

ie: redirecting the browser to the new page.

The trouble I'm having is identifying what this is actually linking to.

  • I've checked Template Tokens for the various pages. (there are 70 different pages associated with this one object) and it is not one of these.
  • I thought it might be somehow a link to a workflow process / action, but can't find anything there.

Question: is there a simple way of identifying what a template token is related to??

Verified Answer
  • The #action implies this is related to a workflow action on that object.  You can see those at the bottom of the template helper below the page links.  You could also look at the detail on the action itself to search for the ID.

    I hope this helps

All Replies
  • The #action implies this is related to a workflow action on that object.  You can see those at the bottom of the template helper below the page links.  You could also look at the detail on the action itself to search for the ID.

    I hope this helps

  • Many thanks. I was able to find the related Workflow Action...

  • You can also use Metadata search. Search for 123456 (assuming that this is real number you have).

  • I tried the Metadata search, in this instance I'm getting an Error: 

    System Error

    java.lang.NullPointerException

  • Are you using Public (hosted) or Private cloud? I need to see your exception trace.