Skip to content

Instantly share code, notes, and snippets.

View phoenixinobi's full-sized avatar
🏠
Working from home

Michael Sto. Niño phoenixinobi

🏠
Working from home
View GitHub Profile
CHECK ENVIRONMENT
pac org who
SWITCH ENVIRONMENT
pac org select --environment "<EnvironmentId|EnvironmentUrl>"
PUBLISH CUSTOMIZATIONS
pac solution publish --async true
CHECK SOLUTION
cd $(Build.SourcesDirectory)
git add --all
git commit -m "Commiting changes from dev-$(SolutionName)-$(Build.BuildId)"
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push
$solutionName = "$(SolutionName)"
$branchName = "dev-$(SolutionName)-$(Build.BuildId)"
cd $(Build.SourcesDirectory)
git config user.email "productdeveloper@phoenixinobi.com"
git config user.name "Product Developer"
git checkout $(Build.SourceBranchName)
git checkout -b $branchName
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push --set-upstream origin $branchName
if (typeof (pxbiD365) == "undefined") {
var pxbiD365 = {};
}
(function() {
var self = this;
if (typeof (self.ObjectName) == "undefined") {
self.ObjectName = {};
}
(function() {
var self = this;
if (typeof (pxbiD365) == "undefined") {
var pxbiD365 = {};
}
(function() {
var self = this;
if (typeof (self.Picklist) == "undefined") {
self.Picklist = {};
}