Posts

Debug SPFx React webpart with Visual Studio Code

Image
Method 1:     This is a simple method, we will add debugger in our code & in workbench page developer tools we can debug our code. Method 2:     We can directly debug from Visual Studio code.  Go to Visual studio code >  Extensions > search for " javascript debugger " > install     Click on Run & Debug (Control + Shift + D) > Add Configuration > Update you SP Workbench url     Place your break point(I have placed in Render method),       Open Terminal (Control + Shift + ~) > run " gulp serve --nobrowser " Once it is completed >  Run > Start Debugging     Now in the workbench page when you add your webpart, debugger will hit in our VS Code. Refer this Link for more details 

PowerApps Delegation

Image
     Delegation is a very important concept that you have to understand, especially when you will be working with large data sets in PowerApps. First, let’s know that “delegate” means to assign tasks to someone else.(Here power app will delegate data processing to data source) What is PowerApps Delegation?      In PowerApps when you are working with the data sources (Dataverse(CDS), SQL, SharePoint, etc…), the data processing tasks are assigned to data sources rather than done by PowerApps itself. This is called PowerApps Delegations . Delegable Data Sources: Delegable data sources mean the data sources that process data logic in a similar to PowerApps does. Not all the data sources support all the functions of PowerApps. Delegable data sources: Common Data Service (CDS) also called as Dataverse SQL Server SharePont Delegable functions Not Delegable:  When we working with large data some function will not work(not Delegable), it will give you a warnin...

Document Retention & Archival using Power Automate

Image
    In this post we will see how to set a archival for a document library using "scheduled cloud flow", flow will run every day 12A.M & move the expired files to ArchivalLibrary In this post we will learn about: Scheduled Cloud Flow (Recurrence) Actions : Get Files(properties only) - get all file properties of library Initialized Variable - create new variable in power automate Set Variable - Assign values to existing variable Apply to each - Looping all items from library/list Other Actions:   Create Item, Get item, Update item, Delete item - For SharePoint List Create file, Get files(properties only), Update file, Delete file, Move file, Copy file, Check out file, Check in file, Create sharing link for file or folder, Get file metadata, Get file properties, Get file content using path, Get file Content, Update file properties, etc - For SharePoint Library Condition : Condition - If & If no based on this we can execute our conditions Rename block headings: R...

Helpdesk App using Power App

Image
Here we will create a simple helpdesk app with Admin & user login. Sample  Admin Screen: (Percentage Complete & Task Status Fields enabled for admin in edit screen) Sample  User Screen: In this post we will learn about: Connect to SharePoint DataSource (we have more than 200 connectors) Office365users - Connector(Give details about current logedin User, Office365users.MyProfile().Mail) Screen - Create Screen with different templates(Blank,Scrollable, Success,Form, etc) Controls - (Image, Rectangle, Button, Lable, Icons(BackArrow,Circle,Plus,Trash)) Gallery -Control to Read Item from SharePoint(like GridView) Grouping Controls - Group multiple Controls as single control Forms - PowerApp provides forms to Edit/Display SPList item(we can change Default mode to New/Edit/View)           Events : Set (GlobalVariableName, ValueToAssign) - create new global variable Navigate (ScreenNameToNavigage,ScreenTransition.None) - Move between screens Submi...