Hello,
I wanted to create a record via API in dataverse for each record there are group of people owned it.
How do I add people to a record dynamically while creation of record please?
Is this involves events, custom Api, custom action? Please suggest
Solved! Go to Solution.
Hi @rampprakash
Thanks for your response, I was trying to find how to do that, my questions are
1. How to create a team via code(may be API)
2.How to handle events on Dataverse, since the members of the team are based on the row record
Really helpfull if you share some guide /material to do it via code, please.
Thanks,
-Sendil M
Hi @Sendil, Quick answers to your 2 questions:
Hope this helps!
Hello @Sendil,
Create a Team and add users to the team.
Then on create of record using API pass the OWNER field as TEAMS as a logical name and GUID of team record.
Please mark as Answer if it is helpful and provide Kudos
Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com
Hi @rampprakash
Thanks for your response, I was trying to find how to do that, my questions are
1. How to create a team via code(may be API)
2.How to handle events on Dataverse, since the members of the team are based on the row record
Really helpfull if you share some guide /material to do it via code, please.
Thanks,
-Sendil M
Hi @Sendil, Quick answers to your 2 questions:
Hope this helps!
Thanks for your Response @EricRegnier
To get more indepth of my need is
1. I wanted to create a row(record) using API via angular
2. Row will have a metadata like Manager, director
3. I wanted to give access to the record only those Manager, director as part of the Metadata of a
row.
Here my questions are,
1. I wanted to call API on user context in angular, do i need to pass user credential as part of acquiring access token?
2. Can i get dummy api url to create a team? Also, I wanted to assign or set that team as a owner for the newly created row
3. How do I add the Manager, director as part of the row as a member of the team?
Hi @Sendil, apologies for my late reply. To answer your questions:
Cheers
User | Count |
---|---|
20 | |
11 | |
8 | |
5 | |
5 |
User | Count |
---|---|
31 | |
30 | |
14 | |
12 | |
9 |