Thursday, March 24, 2022
Change the owner of cloud flow
Monday, January 31, 2022
ALM Accelerator for Power Platform - Pros & Cons
Microsoft released another innovate tool to Manage Power Platform (Canvas & Model driven) Applications using Application Life cycle Management(ALM)
Ste by step guide : https://powerapps.microsoft.com/en-us/blog/introducing-the-alm-accelerator-for-power-platform/
My first Impression with ALM
ALM Accelerator is tightly coupled with Azure DevOps & git, but there no link between recent relese features like CO- Authoring features, So by end citizen developers should maintain 2 git repos for store same solution.
Setup & maintenance complexity is same like earlier version. this tool is good fit for small originations not for Enterprises.
Co-Authoring in Power Apps - Limitations
Microsoft released many new features in Power Platform in 2021, there are 2 main features are very useful for developers.
Co-Authoring as an experimental feature to Power Apps.
Co-Authoring as an experimental feature to Co-Authoring in Microsoft Teams.
Co-Authoring in teams lets you edit a document while another person is editing the same document.
With Power apps it is just the same. You can edit one app with multiple people at the same time.
Be aware though that enabling Co-authoring is more than just enabling a feature. When multiple people edit the same app, it is very important that you use the same standards and that you are aware of which parts each person is working on. like Standard development / release Life-cycle using Version controls (Gits or Devops)
Saving your work on a regular basis, and collecting other people’s changes regularly might be a good idea.
Based on documentation, I tested in both Azure DevOps & git repos. found few bugs in additions limitations.
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/git-version-control.
Steps Followed:
- Created Github Repository
- Generated a personal access token for
my ID in github
- Created a canvas app and connected it
to Github repository
- Provided github repo and canvas app
access to another user
- User needs to generate a personal
access token for himself
- Edit the app and other user must
provide his github credentials
Now both users can edit and work on the app simultaneously
Known limitations
- This feature isn't compatible with code components. Don't use this feature with apps that make of use of code components.
- This feature doesn't work with public Git repository. Use a private repo instead.
- This feature doesn't work with on-premises Git repositories. The Git repo must be hosted on the web and accessible with username and personal access token.
- Edits to the same property on the same control aren't merged. The last edit made will win.
Monday, April 17, 2017
SharePoint Framework Development and Deployment Guide
Development
Model
|
Pros
|
Cons
|
JavaScript
injection
|
Script Editor to paste JavaScript into
the web part and have that JavaScript execute when the page renders
It runs in
the same browser context as the page, and is in the same DOM, so it can
interact with other controls on the page. It is also relatively performant,
and simple to use
|
Can't easily
provide configuration options to end users
Script editor
web part is not marked as "Safe
For Scripting"
Script editor
web part will block my-sites, team sites, group sites
|
SharePoint
Add-in model
|
This option
for solutions are more powerful and that run in NoScript sites is the
add-in/app-part model. This implementation creates an iFrame where the actual experience
resides and executes.
To debug the
SharePoint Add-in, after changing source code every time, we have to re
deploy and re install the add in to the SharePoint site
|
Add-in/app-part
model run in an iFrame, iFrames are slower than the script
editor web part, because it requires a new request to another page. The page
has to go through authentication and authorization, make its own calls to get
SharePoint data
iFrame boundary makes it more difficult to create
responsive designs, and inherit CSS and theming information.
|
SharePoint
Framework (Next Generation Development Model)
|
Ø The SharePoint Framework is the
next evolution light wright development model.
Ø Instant application debugging
using Workbench without SharePoint site.
Ø Instant SharePoint site debugging
using workbench (which is uploaded in SharePoint site)
Ø Automated process for deploying
the updates
Ø Opens a way to use different
JavaScript frameworks
|
Typescript
language to build the applications and this will be compiled in to clean
|
Light
Weight Component
|
Definition
|
Reference
|
Node.JS
|
It is an open
source and cross platform JavaScript based runtime environment built on top
of Chrome’s V8 JavaScript engine for developing JavaScript based
applications.
Node.js
runtime environment to build & run the applications
|
|
NPMJS
Packages
|
npmjs is the package manager for JavaScript, which contains
the larger number of open source packages and these are assembled in the solution to build
the application.
Manage the dependencies required for the application by using
npmjs packages
|
|
Gulp:
|
Gulp is an open source toolkit used to automate the painful
and time-consuming tasks in a development workflow. For ex., minification and
copying of all JavaScript files.
Gulp toolkit to automate the tasks of building and running the
solution.
|
|
Typescript:
|
Typescript is an open source editor developed by Microsoft. It
is a typed superset of java script language and compiles in to plain
JavaScript. It also eases the C# developers to develop JavaScript based
applications.
|
|
Visual
Studio Code:
|
Visual Studio Code is lightweight source code editor tool,
which runs on any platform. It comes with built-in support for JavaScript,
Typescript and Node.js and has rich ecosystem of extinctions for other
languages and runtime.
|
|
Yeoman
Generator:
|
Yeoman generator is the web’s scaffolding tool for modern web
apps. This will generate the complete solution structure for developing the
application.
|
|
GitHub:
|
GitHub is the web based Git repository hosting service. It
offers all of the distributed revision control and source code management functionality
of Git.
|
|
JavaScript
Frameworks:
|
In modern web world, there is number of JavaScript frameworks
like React, Angular JS, Knockout JS, etc…
available for building the web based application to enable rich user
experience.
|
|
SharePoint
JSOM or REST API:
|
JSOM or REST API are enables the client side development to
access & manages the SharePoint sites.
|
Light Weight Vs Microsoft Equivalent
Light
Weight Component
|
Microsoft
Equivalent
|
Node.js
|
IIS Express and /or build automation
|
Node.js
|
.Net Framework
|
npm
|
Nuget
|
Yeoman
|
VS Project -> New -> Template
|
Gulp.js
|
MS Build
|
Typescript
|
C#
|
Extensions
Install Yeoman and gulp
Install Yeoman SharePoint generator
Compile SASS files to CSS.
Compile TypeScript files to JavaScript.
For windows : npm install -g npm
For Linux : sudo npm install -g npm