I'm attempting to mimic how Content Types worked before PowerApps.
I have two content types. I added the ContentType DDL to my form, copied it and created a second form. Each form has a Visible = true field. I tried some logic with an if statement and using the Content Types data card and it sort of worked. The problem is that each form has its own data card for Content Type.
Now I either need to make logic for each forms visiblity or come up with code outside of the forms that could retain the content type. I'd prefer to have something outside of the form to do my comparison. I know there are variables but really haven't figure out how to use them yet.
Is it possible to store form data somewhere outside the form to do the visiblity of a form?
Hey @ComputerHabit2
No problem, I want to do something similar and was wondering how far your app went.
Kind regards
Tom
I never quite finished that form. I will have to revisit this thought. Since MS took SharepointDesigner Forms and Javascript away I'm stuck.
Hey @ComputerHabit2
I know it has been a long time, but could you explain a bit more how you would implement that Switch into your app to show and hide fields depending on the selected content type?
Kind regards
Tom
Okay I got it to work.
The idea being that you'd show for the default content type and hide depending on the Name value of the Content type. I figure if you had several content types you could do a Switch instead.
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2