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: 
Not applicable

One selected value in a multibox field using IE plugin

Hello,

Is it possible, to get a one selection function in a multibox field?

This function must work in the IE plugin.

Who knows how i can do that?

9 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

hi dirkgroen,

Select one value in the multibox. Then go to presentation --> on right down you will see Always one selected box.

Not applicable
Author

thank you.

I had not seen that option

Greetz, Dirk

Not applicable
Author

HI,

For this you have to select at least 1 value and from your Multibox ... and it should be direct Field.

Its not applicable for calulated dimensions or expressions.

MultiBOx > Properties > check now "Allways one selected"

I hope this will work

Not applicable
Author

can you set this function on and off with a action or Macro?

Greetz,

Dirk

Not applicable
Author

With this two Macro's you can set this function on and off

Sub SetOnlyOne
ActiveDocument.Fields("KlantreferentieCode").Select "01"
set KR=ActiveDocument.GetField("KlantreferentieCode")
wSel=KR.GetSelectedValues.Count
if wSel=1 then
set prop = KR.GetProperties
prop.OneAndOnlyOne = true
KR.SetProperties prop
end if
End Sub

Sub SetOnlyOneOff
ActiveDocument.Fields("KlantreferentieCode").Select "01"
set KR=ActiveDocument.GetField("KlantreferentieCode")
wSel=KR.GetSelectedValues.Count
if wSel=1 then
set prop = KR.GetProperties
prop.OneAndOnlyOne = false
KR.SetProperties prop
end if
End Sub

Greetz,

Dirk



Not applicable
Author

i thought i had the sollution, but this one doesn't work with the IE plugin.

Who can help me with te right sollution?

Not applicable
Author

Is there nobody who can give the right solution?

deepakk
Partner - Specialist III
Partner - Specialist III

hi,

Did you try it after enbaling "Run Macro on Server" option.

YOu will find this option in QMC--> Qlikview Server Setting--> Security.

Not applicable
Author

Here a post, that handles the same problem:

http://community.qlik.com/message/142230#142230