• Inderjit Singh Waraich
  • NEWBIE
  • 49 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 12
    Replies
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.

User-added image

 
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 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

 
I am not finding PD II exam in web-assessor. 
I am getting below error
User-added image

but my application has 
User-added image

May I know why am not able to pass this challenge ?
 
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.

User-added image

 
I am getting below error
User-added image

but my application has 
User-added image

May I know why am not able to pass this challenge ?
 
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!