Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vipingarg23
Creator
Creator

How to store a field selection value from UI to backend script variable

Is it possible to store a field selection value from UI to backend script variable?
7 Replies
Anil_Babu_Samineni

How you need in Back end?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
vipingarg23
Creator
Creator
Author

I just want to know the fact that it is possible or not in Qlikview.

Anil_Babu_Samineni

Don't think that possible way - I am expecting in technical oriented because there must be direct / indirect way to achieve this. Could be the reason i am asking whether how you need?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tresesco
MVP
MVP

May be like in attached qvw?

Load  RowNo() as Data

AutoGenerate $(vScript);


Let vScript='';

Capture.PNG

Input a number in the input box and reload; the data would have that many rows. I entered 10 and reloaded for the above screenshot.

balar025
Creator III
Creator III

is it for each and individual user of dashboard or application? If it is individual then it is not possible directly. You need to go with third party tools to write back.

effinty2112
Master
Master

Hi Vipin,

I don't know how you could save a value as a variable in script but you can certainly save a selected field value as a variable.

For example if we have one value selected in field AccNo then a button with the action Set Variable as shown will save the value:

Variable : vAcc

Value

=if(GetSelectedCount(AccNo) = 1, AccNo)

It's difficult to advise without knowing your application but maybe bookmarks will give you what you need.

good luck

Andrew

tresesco
MVP
MVP

If you need Field Selection, try using trigger like:

Capture.PNG