I want to open a define view using a button or link by single click. This link would be on search screen and after clicking, it should display the list of all records as displayed by using "open view" option.
::Actual requirement is to enable user to display list of all records updated by him/her by querying the activity table and it should be done by single click only from search screen.
I also tried to call cc.search RAD from the display option by passing parameter $L.append.sql having some value calculated in pre-rad expressions.But no luck as it display first record in search screen itself instead of displaying qbe list.
____________________________________ Assign Kudo, if found post useful and mark it accepted if solves the issue.
Your requirement is somewhat weird. Anyways here's how you can do it. Though in your description its not mentioned that against which module you wanted to do the tracking of the activity. So i took table activityservicemgt and interaction search screen as an example.
Go to the displayoption and create a button with label Display Activity.
Screen ID : cc.search.incidents.display
Pre Rad Expression : $L.query="operator=\""+operator()+"\""
In RAD tab:
Param Names Param Values text activityservicemgt
So, when you click on the Display Activity button(from interaction search screen) it will display you the interaction activities which has been performed by logged in user.