I am getting hung up on creating a custom entity f...
# general
n
I am getting hung up on creating a custom entity fields that feeds into a 3rd party application. We want to send a hyperlink of the NetSuite Customer page to the 3rd party. I created a field for a hyper link, it shows correctly on the customer page, but in saved search and the 3rd party application it is showing as "ERROR: Field Not Found" for the internal ID of the entire link, "https://system.netsuite.com/app/common/entity/custjob.nl?id=ERROR: Field Not Found". I feel like I am missing something very obvious. Also I had it working at one point and pushing up the the 3rd party fine and now it is not.
j
Does the url not need to be account specific? Where the 555555 is your NS account id? https://5555555.app.netsuite.com
n
Pretty sure it defaults to a logged on to the current logged on account or gets you to log on. You could try this for yourself @Jay Flynn09 if you take that link and remove the last erroneous parameter.
@Noel B I'm guessing you realise the id on the url is an internal id of the customer record? I wonder if when "pushing up to the 3rd party" you need to encode the url and it's getting mangled? All feels a bit circular too, is the id of the customer the same id as the record it's on? At what point are you populating the field, you wouldn't have an id until after it's been created, are you sure you even have an id at the time you're sending it up?
n
@NElliott that is what I think is happening. But yes, the 3rd party application is asking for a custom field, we want to send it the customer record. So the users can click on that link in the 3rd party application to bring up the customer record in NetSuite. So I put a custom field with the NetSuite address "https://system.netsuite.com/app/common/entity/custjob.nl?id=" and then the internalID of the record. On the customer record in NetSuite it shows the whole link just fine, but in the 3rd party application it gives "ERROR: Field Not Found", as well as when I run a saved search with that custom field.
n
Can you show me the definition of the field in NS? Maybe you haven't ticked an option such as show in lists...
and has it been applied to the relevant forms.
How is the 3rd party application accessing the field too?
n
This is the custom field I created. I am thinking it is just some silly mistake I am making.
This is the field showing on the customer record, pulling in the {id}
What happens when I put that custom field into a saved search "ERROR: Field Not Found", but I am guessing it is because the saved search is looking at {id} and not {internalid}.
n
You're defaulting the field but you're not storing the value.