August 3, 201510 yr Hi there, I have a database with groups of layouts that share the same keyword - e.g. Registrations is one layout, findRegistrations is another and there is RegistrationsList and editRegistrations. I want to create a conditional that is activated when it detects the keyword in the layout. So if Get(layoutName) contains the word "Registrations", perform the conditional. I thought Filter or FilterValues might work but i can't seem to get it to do so. How do I extract the keyword? And is it case sensitive? All advice gratefully received.
August 3, 201510 yr Try: PatternCount ( Get ( LayoutName ) ; "Registrations" ) (is not case sensitive) I would recommend you make your layouts names based on an Entity - Intent pair Registration - Form Registration - List Registration - Edit Registration - Find Then you can do LeftWords ( Get ( LayoutName ) ; 1 ) or RightWords ( Get ( LayoutName ) ; 1 ) for the entity / intent respectively
Create an account or sign in to comment