I want to access the systemuserroles entity in an Canvas App. I use a custom table called systemuserrolescollection. This works. Then when I create a gallery with the new entity as the source, I cannot see all the fields.
I can see the primary key systemuserroleid. But I cannot access the roleid and systemuserid. Type guid.
<EntityType Name="systemuserroles" BaseType="mscrm.crmbaseentity">
<Property Name="versionnumber" Type="Edm.Int64"/>
<Property Name="systemuserroleid" Type="Edm.Guid"/>
<Property Name="roleid" Type="Edm.Guid"/>
<Property Name="systemuserid" Type="Edm.Guid"/>
Any idea how to access these fields?
the behavior could be many things, for starters are you a System Administrator role?, are those are in the same Business Units, and/or are you at the Root Business Unit?
In my case I'm the Global administrator and Have system admin, I'm at the Root of Business Unit, and will be able to see all the other users and roles assigned to them.
I have a Dynamics 365 CE and CDS enable, and also I have a tool that helps me a lot to get the correct data and see record metadata from the Dynamics 365 side. I'm using CRM REST Builder by Jason Lattimer, and I added a screenshot from that same entity you are looking and for my access rights, I can see everything.
probably another thing is that CDS is not been populated with that data.
Abe, thanks for replying. I'm a system admin. It's not a rights thing.
The connector to CDS, from a Canvas App, is not the same as what you see with the CRM Rest Builder. Try to retrieve the same data in a canvas app. I already experimented allot with the connector in Flow and Canvas app. I want to know why it's not showing up in a Canvas app and why it does in Flow.
Learn how to create your own user groups today!
Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!
Check out the new Power Platform Community Connections gallery!