code snippet.

$myclient = new ET_Client();
$NameOfAttributeOne = "ExampleAttributeOne";
$NameOfAttributeTwo = "ExampleAttributeTwo";
$profileAttrOne = array("Name" => $NameOfAttributeOne, "PropertyType"=>"string", "Description"=>"New Attribute from the SDK", "IsRequired"=>"false", "IsViewable"=>"false", "IsEditable"=>"true", "IsSendTime"=>"false");
$profileAttrTwo = array("Name" => $NameOfAttributeTwo, "PropertyType"=>"string", "Description"=>"New Attribute from the SDK", "IsRequired"=>"false", "IsViewable"=>"false", "IsEditable"=>"true", "IsSendTime"=>"false");
$response = $myclient->CreateProfileAttributes(array($profileAttrOne,$profileAttrTwo));


[StatusCode] => Error
[StatusMessage] => PropertyDefinitionReadOnlyAccess
[OrdinalID] => 0
[ErrorCode] => 67035
  • I would recommend that you also post this question at Code@ExactTarget, since this is largely not related to salesforce as it is currently written. – sfdcfox Dec 26 '13 at 14:43
  • @sfdcfox : exacttarget is in scope of this site now too: meta.salesforce.stackexchange.com/questions/505/… – Samuel De Rycke Dec 26 '13 at 14:45
  • @Deepak : It may help if you explain what you're trying to do, and actually ASK a question. While we can try to conclude your question, it helps a lot if you actually ask it. – Samuel De Rycke Dec 26 '13 at 14:46
  • @Sdry You're right. I must have missed that meta. Silly me. Regardless, I tried to find an answer (below). ExactTarget does have their own hosted forum with internal experts that help, though. That was the purpose of suggesting a cross-post. – sfdcfox Dec 26 '13 at 14:47
  • 1
    @KellyJAndrews The more you know! Of course, I always welcome new challenges and opportunities, and it will be good for us salesforcers to learn more about ExactTarget, so I'll be the first to welcome ExactTarget to our community (though I'm probably not!). – sfdcfox Dec 26 '13 at 16:21

The answer to this appears to be here:



Please re-create your HubExchange app in CODE@ App Center and make sure during the create wizard you specify the correct needed permissions. For this functionality you will need Read and Write access for the Lists and Subscribers section.

  • I have already given a permission to List And Subscribers "Read" , "Write" – Deepak Dec 27 '13 at 12:41
  • After given a permission read and write .I am getting the below :[StatusCode] => Error [StatusMessage] => The CUSTOM_OBJECTS business rule must be turned on. [ErrorCode] => 310007 – Deepak Dec 27 '13 at 13:05
  • I am able to add attribute.I have 23 user list.when I am adding the subscriber into the list with attribute.21 user attribute added successfully but last two user have does not add attribute in my list. – Deepak Dec 28 '13 at 9:14
  • You should mark this question as answered, and set up a different question regarding the two users not working, with some code so we can help out. Thanks! – Kelly J Andrews Jan 3 '14 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.