function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
motti10motti10 

How do I pass an Asset Name (I selected) to a controller on a different page PLEASE HELP

I created a custom TAB which loads a list of Assets on an ApexPage. I click on the Asset Name and now want to send the Asset name I clicked to my Controller so that I can do :queries like:

 

Asset myasset = SELECT name from Asset where name = :[CLICKED ASSET NAME TEXT]

 

How can I retrieve the AssetName so I can you it in my controller?

 

BTW I have enhanced list to view Assets on page

 

Thank you