You need to sign in to do that
Don't have an account?
Denis Vakulishin
[Metadata API] Adding Custom field to object
Hi all,
I' trying to add custom field to object via Metadata API. But I'm getting FIELD_INTEGRITY_EXCEPTION (Could not resolve standard field's name).
I have no clue why this can happen.
Here's some of my .Net code
Thanks in advance.
I' trying to add custom field to object via Metadata API. But I'm getting FIELD_INTEGRITY_EXCEPTION (Could not resolve standard field's name).
I have no clue why this can happen.
Here's some of my .Net code
//Initialization var cf = new CustomField() { fullName = "object__c.testfield__c", type = FieldType.Text, label = "Field", length = 42, lengthSpecified = true, description = "Test", }); Creation var res = await client.createMetadataAsync(new SessionHeader() { sessionId = loginResp.result.sessionId }, null, new Metadata[]{cf});
Thanks in advance.
to the CustomField Initializtion
All Answers
to the CustomField Initializtion