Saturday, December 9, 2023
Friday, December 1, 2023
Get SharePoint Term Store items using REST
In SharePoint Term Store is user for Manage Meta data. Manage meta data plays vital part if SharePoint when it using across multiple department in a organization.
Since it is easy to configure the Term Store in development it will given more paint to the development and Power Automate. So that I have found the SharePoint REST call for the Term Store data.
In following URL is using for retrieve all values Term sets. For the <<TERMGROUPID>> and <<TERMSETID>> you need to find out GUID form admin center.
_api/v2.1/termStore/groups/<<'TERMGROUPID'>>/sets/<<'TERMSETID')>>/terms?$select=id,labels
In Power Automate You can assign the relevant TERMGROUPID and TERMSETID in to variable and refer as follows
I think you would able to get little knowledge about the Term Store data retrievalThursday, 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
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
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?
- DocuSign - License users
- DocuSign Demo - Developer users
Key things to know in DocuSign
- 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.
2. Add Documents.1. Click Start4. Edit the Email Subject and Message.3. Add Recipient6. Add Fields5. Adjust the options7. Click on Send
Specify the tabs (Placeholders) to the envelope
Sunday, September 19, 2021
ES6 (JavaScript) Arrow Functions explain in briefly
Arrow functions have newly introduced a way to write JavaScript code in a shorter way. in javascript, we can write a function in the following way
function myFunction(item){
console.log(item);
}
we are able to write javascript function as following way
const myFunction = function(item){
console.log(item);
}
in arrow function, we can write the following way
const myFunction = (item) => {
console.log(item);
}
If the function is returning something it can write the following way
The normal way of writing the function
function myFunction(item){
return "Item is: " + item;
}
above code can write as follows
const myFunction = function(item){
return "Item is: " + item;
}
The above code can write with arrow function
const myFunction = (item) => {return "Item is: " + item;}
if it’s a single line return keyword and brackets can be omitted as follows
const myFunction = item => "Item is: " + item;
See more details in the following link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Saturday, September 18, 2021
Apply SharePoint Template to site in SharePoint Online
This article describes applying a built-in template to the site. Following are the steps.
Go to the preferred site that you need to add a custom theme and click on the gear wheel in suite bar.
Then You will able to see the “Apply a site template” under the Settings.
Monday, April 5, 2021
Customizing Office 365 Suite Bar Theme with logo image
Here I'm going to explain how to change the logo in SharePoint online. In This method, the logo is changed at the tenant level and it is displayed on the office suite bar.
Select Admin from Apps
Once the admin panel has loaded. Click on … Show all
Click On Settings to expand to the option. Then select the Org settings
Under Org settings select the Organization profile tab.
Select the Custom themes
T hen it will display the Custom Thames pane on the right-hand side
Under the Custom themes pane Select the Upload an image Under Use a Custom logo image option
then it will visible the Upload an image option so the user can Browse and select the relevant logo image (logo image dimension should be 200 x 30)
After selecting the logo image press the Save button to save changes.
Once settings are successfully saved it will show the following message.
Then logo will display beside the text
Friday, January 22, 2021
How to navigate to power automate admin center
In this article, I am explaining how to navigate the Power Platform Admin Center. There were two methods,
- Direct Navigation by URL
- Navigate Through O365
If you are log with the O365 with Tenant Admin the follow the below steps
In Admin Center you can see the Customize Navigation item, below that Click on the ."..Show all" item to expand
Then Admin centre is expanding the list with more items, So select the "All admin centres"
So you can see all the admin centres, from that to choose the relevant item. in this scenario, we need to access the "Power Automate Admin Center".
Tuesday, November 24, 2020
How to add custom URL to Modern SharePoint List
So following code will show you how to do it
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField.desc",
"attributes": {
"href": "@currentField",
"target": "_blank"
}
}
If you are gone through the code snippet it is adding "a href "HTML tag to SharePoint List. It represents the above JSON to HTML it will look like as follows
<a href='@currentField' target='_blank'>@currentField.desc</a>
in elmType it will define the tag to which we are asked to add an element to the list view. Then the txtContent text is the Link text that shows to you. @currentField.desc is return the value of the field. finally, in the attributes section, it defines the <a> tag attributes. In this scenario, it adds the href and target attributes.
In this post, I have explaining how to add current list item link to the modern SharePoint list view if you need to add a static URL need to replace textContent and href in the attribute section.
Tuesday, August 6, 2019
_spPageContextInfo in JavaScript object model
What is _spPageContextInfo SharePoint JavaScript Object Model?
In JavaScript Object Model _spPageContextInfo is a main object use to key values like user name, siteurl, userid,etc.
- _spPageContextInfo.webabsoluteurl - Absolute URL of the current Web
- _spPageContextInfo.userid - User Id of login user
- _spPageContextInfo.userloginname - user name of login user
You can learn more about the _spPageContextInfo for followings blog codesharepoint.com
In some occasions "_spPageContextInfo is not defined" error occurs in above error explain in above also
Saturday, January 17, 2015
Sunday, March 24, 2013
WebTemplate’s in SharePoint 2010
It is a New Feature Introduce in SharePoint 2010 can use as a Sandbox solution architecture
* Its allows deployment at site collection level
* Most of "Site Definitions" features are in the web template
* Web templates were based on existing site definition
* It Does not support Document Templates
* Only one Configuration
* It is best approach to control environment
WebTemplate Element
It specifies the default behavior the template
There are 3 required attributes
- BaseTemplateID
- BaseTemplateName
- BaseConfigurationID
- Name
Optional Attribute
- Titke
- AlternateCssUrl
- CustOmJS
Onet.xml
It contain NavBars and Configuration Elements but not ListTemplate, DocumentTemplate, Modules, ServerEmailFooter
like Site Definition
One Configuration
Some attributes of project are superseded by WebTemplate attribute
It use features instead of Module






















