• Andy.xu
  • 0 Points
  • Member since 2010

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 4

i want to add CustomField to standard object (Account),code(Metadata api CRUD-based) :


  CustomObject co = new CustomObject();
  CustomField nf = new CustomField();
  UpdateMetadata updateMetadata = new UpdateMetadata();


Like thi,after run ,Exception come out:

    Exception in thread "main" AxisFault
 faultCode: {http://soap.sforce.com/2006/04/metadata}UNKNOWN_EXCEPTION
 faultString: null: Invalid fullName, must end in __c

can anyone help me....?and thanks!

 I am a new .


This is a VF page,How can I make a paging with VF?


Thanks,please gaving code or example!



I'm trying to create a Rollup SUM on a master object to total a number formula field on the child records, but it's not letting me select the field to SUM.


The formula field on the child record references a related object. Is this the reason it will not let me select that field to SUM? 

I need to get a lookup ID from an inputField component via JavaScript but the field with the lookup ID looks different and I can't rely on setting a static component ID to get it.


Is there anyway I can do this? I'm developing a managed app, so I need to be able to make sure I can get the ID of the field dynamically.

Being that when I try to define a parent-child relationship the object itself isn't offered, that would imply the SFDC doesn't support self-relationships.  Correct?