Hey guys, does anyone know how to reference a NS f...
# general
i
Hey guys, does anyone know how to reference a NS field in the standard HTML form? I have a field on my SO that links to our external website so we can see the sales order on the external site, but I don't know how to reference it on the a href in the HTML code...
e
On the browser URL for your SO, add the &xml=T to the url to display the XML representation of the record and then do a Ctrl-F to find the value and you’ll see what the field name is.
i
I know what the field name is, I just don't know how to put it into the HTML code so it will source from it
<a href="{custbodypg_link_so}">Securely View, Edit, & Track the status of this order </a>
in the squiggles is the field name
e
If you’re just wanting the link to the SO you just need to reference it this way
<a href="/app/accounting/transactions/salesord.nl?id=xxxxx">Securely View, Edit, & Track the status of this order</a>
You can’t use the field name directly on an href because that’s not a url link and fields are not accessible outside of scripts