New answers tagged

0

I got class names using SOQL. SELECT Name FROM ApexClass Using workbench: Put those classes in the below structure: <classAccesses> <apexClass>ClassName</apexClass> <enabled>true</enabled> </classAccesses> And deployed using meta-data. Though this is not what I would prefer but this is what I had.


2

The <name> element of the package.xml is the name of the metadata entity you wish to retrieve. The API names of the individual items within that entity which you desire go in the <members> elements. Here, you need to do something like this: <types> <members>DCT__b</members> <name>CustomObject</name> </...


2

Check the FLS for that field. Setup --> Object Manager --> transition__c --> response__c --> Set Field-Level Security Make sure that field is Visible to your profile


0

Wrapping up as an answer : "In JSON specification, it requires the use of double-quotes for field names. To enable Jackson to handle the unquoted field name, add JsonParser.Feature.ALLOW_UNQUOTED_FIELD_NAMES in the ObjectMapper configuration."In JSON, unquoted field names are non-standard and should be avoided. Also try validating the JSON here jsonlint.com,...


1

Workbench authenticates to Salesforce as a user and has the same rights and privileges that are permissioned to that user. If you wish to restrict Workbench operation, you'll need to limit the permissions offered to users who connect through Workbench by, for example, placing them on a Read-Only profile. Running queries and modifying records both fall under ...


0

Ultimately, I learned that nested queries such as the one above are easily manipulated within Apex. The child-relationship's API name can be looped on as easily as one would loop through a list of lists. I hadn't realized this was possible in Apex so this issue was more caused by a lack of knowledge than by the necessity of a complex solution. :)


Top 50 recent answers are included