Rupinder Kaur 2 Posted April 10, 2017 Share Posted April 10, 2017 For ex: If Region has following values: None USA EU CHINA INDIA whenever i click Reset button or link it should reset all property control values to none. Link to comment Share on other sites More sharing options...
Jonathan Dowds Posted April 11, 2017 Share Posted April 11, 2017 You can achieve this with a simple IP script linked to an action control (where MyProperty is the name of the control) Document.Properties["MyProperty"]='' Link to comment Share on other sites More sharing options...
Rupinder Kaur 2 Posted April 12, 2017 Author Share Posted April 12, 2017 Thanks, It worked. It was pretty simple. Link to comment Share on other sites More sharing options...
Naveen Tibco Posted September 24, 2019 Share Posted September 24, 2019 If property control data type is "INT" then how can i reset Property control. Above solution works fine for String values. Instead of String my data type is "INT". how to reset property control with srcript. Link to comment Share on other sites More sharing options...
LECOMTE FRANCOISE 2 Posted August 11, 2020 Share Posted August 11, 2020 for int list, you can create a script to set the list to -1 then change the way to filter your data # Set document property to first value found in the list Document.Properties["liste"] = -1 on the vizualisation, add a expression to limit data : case when String("${liste}")="-1" then TRUE else If(Find(String([iD]), String("${liste}"))>0,true,false) end Link to comment Share on other sites More sharing options...
IBRAHIM KAYA Posted April 15, 2023 Share Posted April 15, 2023 what was the solution though? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now