Thursday, November 30, 2023

Get SharePoint all users from in the Group Using the Group Name or Group Id

 In this blog I am explaining how to get all uses form SharePoint group using Name and Id with REST

Get All Users from Groups Name

"_api/web/sitegroups/getbyname('" + groupname + "')/users/"

Get All Users from Groups ID

"/_api/web/sitegroups/GetById(" + groupID +")/Users"

Suppose If you getting Groupe Name from textbox and in will contain special character such as "&" or you can use the Group-id method

var groupName = encodeURIComponent(groupname);
_spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups?
                    $filter=LoginName eq '" + groupName + "'"

Additionally If you need to group details related to the the login user use following method

"/_api/web/sitegroups?$filter=substringof('" + groupname + "',LoginName)"



Wednesday, November 29, 2023

How to use Power Automate Object Variable

 As you all know in the power automate you can find the variable type as object in this blog I am explaining how use Power Automate Object Variable




In above figure shows that I have initialize the Object Type variable for configuration the variables for live and development sites keys and URLs. This can be done by separate 4 string type variables also. But then flow would get pretty long with too many variables and it is very hard to read.
For that reason I have created the single object type variable and defined the JSON type object with other variables and then I can use the variable as follows

for example for sdTechnicianKey you can defied as follows

variables('Config')['sdTechnicianKey']

I think you will get to know little knowledge about the Power Automate Object type variable to master it watch the following video of  Reza Dorrani's you tube channel video

Power Automate flow variables - How to use them


Monday, November 13, 2023

DocuSign e Signatures using in Power Automate

Introduction DocuSign


DocuSign is a cloud base eSignature web application which is simplify the document base signature approval process electronically. 


Does DocuSign work with Power Automate?

In this post I would like to introduce the using the DocuSign eSignatures in the Power Automate. When considering power automate you know you need a connector for action. In early days DocuSign does not have a connector but now they have introduce a connector.

How to enable the DocuSign in Power Automate?

Go to the power automate and create new flow In my case I have created the "instant Cloud flow" then click on plus button to add new action then type DocuSign in the search box



Then you will see two connectors 
  • DocuSign - License users 
  • DocuSign Demo - Developer users

base on your account select your one an log in to your account I show you how to create developer account later post. Once you log in to the account you are able to performed your business workflows


Key things to know in DocuSign 

Before I describe the actions let know about the DocuSign Terminology

  • Envelop - It is a singe transaction that send recipient to sign which has the documents with information
  • Documents - Files that are included in envelop. It is supported many types such as .docx, ppt, pdf, jpg, etc.
  • Recipients: users who receive the envelop to view or approve with there signature
  • Fields: Use to gather the information such as signatures, title, date sign and more.

Steps to follow when sending the Envelops thorough the DocuSign Portal

1. Click Start
2. Add Documents.
3. Add Recipient
4. Edit the Email Subject and Message.
5. Adjust the options
6. Add Fields
7. Click on Send

 

As above mention power automate also uses the same process

First Create a New Envelop


 


 Add your documents to the envelope that you have created.


  

Add the recipient to the envelope.



 

Specify the tabs (Placeholders) to the envelope



Finally Send the Envelope


 

 In future post I will explain more about the above actions and using above control create to power automate to run business process.