Solved

get id of current item in list view

  • 31 January 2023
  • 2 replies
  • 174 views

Badge +1

How to get id of current clicked link item of editable list view  and pass to item view .

please can  anyone guide 

Thanks in advance 

icon

Best answer by Prineel_V3 31 January 2023, 23:22

View original

2 replies

Userlevel 3
Badge +8

Hi,

I'm assuming that your link opens an item view and you are trying to pass the ID into that hyperlink...if so you can build a parameter into your link.
 

On your item view, specify a parameter for your ID:
 

On your list view, the link that you build will have to include the parameter name (question mark in front of the parameter name) and value (most likely you will use a variable that contains the ID of each item in your list when the item is added to the list):
 

On your item view you can transfer the ID into a data label
 

The ID will appear on the data label when the view initializes.

 

To add the ID to your link, you can use an expression on your link column:

 

You can then use the smart object ID (or other values) to build your URL with parameters

Hope this helps

Badge +1

thank you so much got it

Reply