Hi,
I’m using a ‘Children’ Visio shape to display dynamic shapes representing bookings.
I’d like to filter these based on the ‘Booking Life Cycle’ custom property, using ‘ChildrenFilter’ shape data
It’s not working with the syntax below, which seems to be the one suggested in the Help files:
ChildrenFilter ReservationInstance.Properties."Booking Life Cycle"[String] == 'Service Pre-Roll'
(Booking Life Cycle in quotes because it contains spaces)
Also tried some variations, but no luck so far.
Note that using a 'Status' filter (ie ReservationInstance.Status[Int32] == 2) does work fine.
Thanks!
The syntax look correct when checking the Help: https://help.dataminer.services/dataminer/#t=DataMinerUserGuide%2Fpart_2%2Fvisio%2FCreating_a_list_view.htm%23XREF_29730_List_view_filters
I assume the following problem though:
Visio files do hide special characters in the shape data fields when you copy paste the values.
These can be: non-printable characters, whitespace characters or blank Unicode characters.
I suggest to clear the filter and re-enter the filter. (manually or via text editor such as Notepad++).
Thanks! That indeed seemed to be the problem. After deleting the shape data and manually re-entering instead of copying, it works fine.
Good to know!