Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I have a Combobox list and binding the list data by a service call after this service called I invoke another service to get selected item and binding again to SelectedText properties of Combobox then the event selected row change of Combobox will auto-trigger.
How can I avoid this case, because this action will trigger another service in my logics
Thanks All!
If you absolutely need
Service Complete -> Get info -> Set SelectedRow
but need SelectedRow not to trigger the first time, you could .. cheesy as it may be, use some boolean flag to indicate 'First load' and use that into a validator then Selected Row Changed, to either toggle First load or fire the service you want.
Hi @vxba.
If the previous response allowed you to find a solution, please mark it as the Accepted Solution for the benefit of others with the same question. Or, if you have found your own solution, please post it here and mark that as the Accepted Solution.
Regards.
--Sharon
could you maybe add a button to run your service and not bind the selected row change to anything at all?
Hi @vxba.
If one of the previous responses allowed you to find a solution, please mark the appropriate one as the Accepted Solution for the benefit of others on the community.
Regards.
--Sharon
Hi, one way to 'determine' first load is to just have a hidden boolean value or boolean mashup parameter with a default value.
Then you can use the Expression/Validator function to check that value and update it accordingly
Hi @vxba.
If you found the additional information provided by PaiChung helpful, please mark his post as the Accepted Solution for the benefit of others on the community.
Regards.
--Sharon