- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 06-17-2021 10:00 PM
Hi Community,
You may have noticed that OOB Flow Designer Action "Generates link to table record" appends [Code]..[/Code] when used to generate a link.
Here is the workaround action that can be used to achieve the link:
Action Name: Generate the link Action in Flow(takes 3 input values)
Action:
Inputs:
Script Step:
Code:
(function execute(inputs, outputs) {
var native_ui_html="<u>" + "<a href=\""
+ gs.getProperty('glide.servlet.uri')
+ "nav_to.do?uri="
+ inputs['tablename']
+ ".do?sys_id="
+ inputs['recordsysid']
+ "\" target=\"_blank\">"
+ inputs['linkdisplayname']
+ "</a>"
+ "</u>";
outputs["native_ui_html"] = native_ui_html;
})(inputs, outputs);
Output:
- 965 Views

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Thanks for the post. I'm having trouble with the outputs, though.
As per the pics below, I have the script step, but when I go to output, I don't have the pill on the right to drag into the output.
If you still have access to the Action, would you mind uploading the XML? I'll import it and look at where I went wrong. Alternatively, could you take a quick look at my images below and give me a hint?