Help

Tip: How to get a Field ID from GUI for use in API

Topic Labels: API
Solved
Jump to Solution
20413 10
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Smedberg
6 - Interface Innovator
6 - Interface Innovator

Hi! I found a workaround that’s helpful for me, so I thought I’d share. If someone has an easier way to do this, please let me know! Apologies if this has already been posted, I didn’t find it after a bit of searching.

The problem I was trying to solve was that when updating a record, a field can be named using its friendly name (e.g. “First Name”), but then if I change it later, even a little bit, my API integration will break. Each field also has a unique ID, prefaced by fld, but I wasn’t aware of any way to actually find that name.

Well, it turns out that you can for most fields, with a little trickery:

Edit: See drassi’s post below for an easier way to do this.

  1. In the GUI, create a new field, and make it a formula. In the formula, refer to the field that you want to know the ID of. (For instance, if you want to know the ID of the “First Name” field, make your formula “{First Name}”.)

  2. Delete the field that you want to know the name of. Now, the formula field will have a red error icon, and when you pull up your formula, the formula will say “{column_value_fldxxxxxxxxxxxx}”. The fldxxxxxxxxxxxx part is your field ID.

  3. Undo the field deletion. Everything will be back the way it was before, nothing will have been harmed by temporarily deleting the field.

This works for any field except the first column, which can’t be deleted as it is the primary key.

Now, you can refer to fldxxxxxxxxxxxx in your API calls and it won’t matter if it gets renamed!

10 Replies 10
Nicolas_d_ANDRE
5 - Automation Enthusiast
5 - Automation Enthusiast

There is now a simple way to do it in the OOTB GUI.

In your workspace head to the right and click on the "tools" drop down, then select "manage field" and then use the filter option on the right hand side of the screen to show the Field ID (toggle visibility)