• Trail Head 33
  • 5 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 7
Hi ,

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: TZTDWCAD
Close errors

Please help on this error.

Hello Everyone,

my code is:
    <aura:registerEvent name="createRecord" type="c:Event"/>
    <ui:button action={!c.createRecord}>Create Record</ui:button>
    var evt = cmp.getEvent("createRecord");
<aura:component controller="saveRecord">
    <aura:attribute name="account" type="Account[]"/>
    <aura:handler name="createRecord" action="{!c.createRecord}" event="c:Event"/>
    <aura:attribute name="newAccount" type="Account"
         default="{ 'sobjectType': 'Account',
                         'Name': '',
                         'AccountNumber': '',
                         'Active__c': '',
    <ui:inputText aura:id="Name" label="Account Name"  value="{!v.newAccount.Name}" required="true"/>
    <ui:inputText label="Account Name"  value="{!v.newAccount.accountNumber}"/>
    <ui:inputText label="Account Name"  value="{!v.newAccount.accountSource}" />
    <ui:inputText label="Account Name"  value="{!v.newAccount.Active__c}"/>
form controller-
 createRecord : function(component, event, helper) {
        var accField = component.find("Name");
        var acc = accField.get("v.value");
        if (acc==''){
            accField.set("v.errors", [{message:"Enter account name."}]);
        else {
            accField.set("v.errors", null);
            var newAccount = component.get("v.newAccount");
            helper.createRecord(component, newAccount);
form helper-
var action = component.get("c.saveAccount");
            "account": account
        if (callback) {
          action.setCallback(this, callback);
I'm not able to create any record on click of the button, how will it be possible?
Thanks in advance
I have brought content delivery related list on my account page layout and it is working fine on desktop but not on the salesforce 1 .Can anyone tell me what is the problem??
Does Content delivery work on salesforce1??
Hello everyon
I have created one Rest api for creating Contacts. How I can test my rest api by passing xml . is ther any way that I test my rest api. I tested using json parser in workbench but I am not able to test my rest api apex code by parsing xml.

//apex class    
    Global static String candidateInformation(List<Candidate> Candidates, String reqSessionId) {

Note: How I can read the xml in Rest api apex class ?
//Parsing xml request
<?xml version="1.0" encoding="UTF-8"?>
              <Phone>string or int</Phone>        
Visual Force:-

<apex:commandButton value="Postit" action="{!postit}"/>

public class ChatterRestApi {
    public PageReference postit() {
    Http http = new Http();
    HttpRequest req = new HttpRequest();
     req.setHeader('Authorization', 'OAuth '+UserInfo.getSessionId());
     req.setBody('{ "body" : { "messageSegments" : [ { "type" : "Text", "text" : "When should we meet for release planning " }');
     HttpResponse res = http.send(req);
        return null;

According to below link, I can (select) encrypt custom field if it falls in to any mentioned category below.
  • Email
  • Phone
  • Text
  • Text Area
  • Text Area (Long)
  • URL
  • Date
  • Date/Time


Here what I cannot understand is, I have created a text custom field in the Account standard object, but it does not showing in the Field List of the "Platform Encryption" page. What I'm doing wrong here?