- Inderjit Singh Waraich
- NEWBIE
- 49 Points
- Member since 2015
-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
6Questions
-
12Replies
Custom metadata not available in Validation rule ?
I am working on Trailhead Module - Custom Metadata Types Basics and stuck on step 3 > Use Custom Metadata Types in Formulas, Default Values, and Validation Rules.
I am not able to find $CustomMetadata global variable in validation rule and it is throwing error. Any help will be appreciated.

I am not able to find $CustomMetadata global variable in validation rule and it is throwing error. Any help will be appreciated.
-
- Inderjit Singh Waraich
- March 26, 2019
- Like
- 0
- Continue reading or reply
FlexiPage Retrieve Issue
Hello Developers,
I am facing unique issue, when retrieving FlexiPage using sfdx force:mdapi:retrieve command, it is not returning componentInstanceProperties sections. But when I add Admin profile along with FlexiPage it is returning all componentInstanceProperties sections.
Is this known issue or it should work this way ?
Normally things work other way around, where sections are added in profile xml file based on the components defined in package.xml
Thanks
I am facing unique issue, when retrieving FlexiPage using sfdx force:mdapi:retrieve command, it is not returning componentInstanceProperties sections. But when I add Admin profile along with FlexiPage it is returning all componentInstanceProperties sections.
Is this known issue or it should work this way ?
Normally things work other way around, where sections are added in profile xml file based on the components defined in package.xml
Thanks
-
- Inderjit Singh Waraich
- October 03, 2018
- Like
- 0
- Continue reading or reply
SFDX force:org:create issue in Jenkins
I am getting below error, i am trying to follow Continuous Integration section of SFDX developer's guide. Any help will be appreciated.
[SFDX] Running batch script {"message":"Setting variables must be in the format <key>=<value> or <key>=\"<value with spaces>\" but found Files.","status":1,"stack":"InvalidArgsFormat: Setting variables must be in the format <key>=<value> or <key>=\"<value with spaces>\" but found Files.\n at ALMError (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\almError.js:35:19)\n at context.args.forEach.arg (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\varargsCommand.js:38:31)\n at Array.forEach (<anonymous>)\n at OrgCreateCommand.<anonymous> (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\varargsCommand.js:35:30)\n at Generator.next (<anonymous>)\n at C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\varargsCommand.js:13:71\n at Promise (<anonymous>)\n at __awaiter (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\varargsCommand.js:9:12)\n at OrgCreateCommand.validate (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\varargsCommand.js:27:16)\n at OrgCreateCommand.<anonymous> (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\scratchOrgCreateCommand.js:110:38)\n at Generator.next (<anonymous>)\n at C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\scratchOrgCreateCommand.js:13:71\n at Promise (<anonymous>)\n at __awaiter (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\scratchOrgCreateCommand.js:9:12)\n at OrgCreateCommand.validate (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\lib\\scratchOrgCreateCommand.js:108:16)\n at aggregator.initialize.then (C:\\Windows\\System32\\config\\systemprofile\\AppData\\Local\\sfdx\\client\\node_modules\\salesforce-alm\\dist\\index.js:367:28)","name":"InvalidArgsFormat","warnings":[]} C:\Program Files (x86)\Jenkins\workspace\SFDX>"C:\Program Files\sfdx\bin\sfdx" force:org:create -f C:\Program Files (x86)\Jenkins\workspace\SFDX/config/project-scratch-def.json --json --setdefaultusername
-
- Inderjit Singh Waraich
- December 07, 2017
- Like
- 0
- Continue reading or reply
Not able to register for PD II Exam in web-assessor.
I am not finding PD II exam in web-assessor.
-
- Inderjit Singh Waraich
- November 16, 2017
- Like
- 0
- Continue reading or reply
Lightning Component Framework Specialist SuperBadge - Issue with Step 6.
I am getting below error

but my application has

May I know why am not able to pass this challenge ?
but my application has
May I know why am not able to pass this challenge ?
-
- Inderjit Singh Waraich
- November 05, 2017
- Like
- 0
- Continue reading or reply
-
- Inderjit Singh Waraich
- October 30, 2017
- Like
- 0
- Continue reading or reply
Custom metadata not available in Validation rule ?
I am working on Trailhead Module - Custom Metadata Types Basics and stuck on step 3 > Use Custom Metadata Types in Formulas, Default Values, and Validation Rules.
I am not able to find $CustomMetadata global variable in validation rule and it is throwing error. Any help will be appreciated.

I am not able to find $CustomMetadata global variable in validation rule and it is throwing error. Any help will be appreciated.
- Inderjit Singh Waraich
- March 26, 2019
- Like
- 0
- Continue reading or reply
Lightning Component Framework Specialist SuperBadge - Issue with Step 6.
I am getting below error

but my application has

May I know why am not able to pass this challenge ?
but my application has
May I know why am not able to pass this challenge ?
- Inderjit Singh Waraich
- November 05, 2017
- Like
- 0
- Continue reading or reply
- Inderjit Singh Waraich
- October 30, 2017
- Like
- 0
- Continue reading or reply
Validating External Data Source
I am receiving an error when attempting to validate an external data source (Google Drive) in our sandbox so I can create an external object. For some reason I do not have permission to do this, even though I am a system administrator. The error appears under the Status field and shows "You are not authorized to perform that operation." Any advice anyone could provide me would be greatly appreciated!
- Ben Silverman
- March 04, 2016
- Like
- 0
- Continue reading or reply