0

Formular for current records ID?

What is the formular to display the current records ID?

I need to pass the current record ID to a webhook but can't find the formular. 
Thought it would be easy but am stuck and searching the documentation hasn't been successful. 

4 replies

null
    • gold_cat
    • 6 mths ago
    • Reported - view

    Id

    • Jakob_Albrecht
    • 6 mths ago
    • Reported - view

    Thanks for the quick reply but unfortunately this code "let EntryID := id;" it gives an error message, see screenshot.

    I also tried "let EntryID := id(this);" but got a function not defined error. 

    Are there any alternatives? 

      • Fred
      • 6 mths ago
      • Reported - view

      'Id' is case sensitive.

      I see on line 49 you use the 'this' function to grab the Table Id. You don't need a separate EntryID variable as 'this' also holds a reference to the record. You can reference the Id field by using the TableID variable:

      TableID.Id
      

      Is the same as just 'Id'.

      The nice thing about 'this' is you have access to all of the fields the table as well, where if you just did 'Id', you can only see the record Id.

    • Jakob_Albrecht
    • 6 mths ago
    • Reported - view

    thanks  - that was the information I needed! Much appreciated

Content aside

  • Status Answered
  • 6 mths agoLast active
  • 4Replies
  • 88Views
  • 3 Following