Hey guys, how do I reference a PO internal ID as a...
# general
i
Hey guys, how do I reference a PO internal ID as a link? We have an external platform that uses an API connection to bring over SOs/POs. I need to put a link on the email form that gets emailed out from NS when that PO is created in NS to link to the external platform. The link is super easy it's just https://example.example/orders/purchase-orders/{internalid} in the curly brackets I need to put the right reference. So this has to go into the formula that is going on the field that I am putting on the PO form so I can later grab it and put it in the email. But it keeps telling me my formula is bad....
k
is this in a saved search result?
i
No
Its just a field I am creating to go on the PO to link to the external page
so its just a dynamic link basically
k
oh. you have the right field but you need to concatenate it
i
not sure how to do that
k
'URL Text'||{internalid}
i
do I want the bangs around it?
well it didnt give me an error this time!
well no error but it's not showing up on the field
that should grab the internal ID of the PO I'm on and insert it into the link right?
or am I thinking about this wrong..,.
k
that's what it should do - but you need the field to not store value
and yes - you want the quotes around it
i
so I turned off store value
and now the error Im getting on the PO <error: Field %27internalid%27 Not Found|ERROR: Field 'internalid' Not Found>
but the || instead of the weird characters lol
k
maybe try {ID}?
you should note - internal ID isn't populated until the record is actually saved
i
ID worked!
Thank you