• emvious
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 4
    Replies

I'm utilizing the Force.com ANT migration tool to do deployments between sandboxes.  The issue i'm getting are deploying objects and reports that reference a public group that does not exist on the sandbox.

 

The deployment that errored does includes the metadatafiles for the public groups.  I would assume that the Force.com ANT migration tool will deploy public group metadata components and then deploy components that reference the public groups, but this is not a case.   I know how to work around the error, but this shouldn't be happening.

 

Has anyone came across this issue?  Is this a valid bug for the Force.com ANT migration tool?

 

 

  • September 10, 2013
  • Like
  • 0

I'm utilizing the Force.com ANT migration tool to do deployments between sandboxes.  The issue i'm getting are deploying objects and reports that reference a public group that does not exist on the sandbox.

 

The deployment that errored does includes the metadatafiles for the public groups.  I would assume that the Force.com ANT migration tool will deploy public group metadata components and then deploy components that reference the public groups, but this is not a case.   I know how to work around the error, but this shouldn't be happening.

 

Has anyone came across this issue?  Is this a valid bug for the Force.com ANT migration tool?

 

 

  • September 10, 2013
  • Like
  • 0

i am using eclipse IDE i am provided with an src folder which contains code i have to save this code into my development org. How i am trying to approach this 1.first i created a Force.com project

 

2.then i copy given src(Ctrl+c) folder and paste(Ctrl+v) in to my project in eclipse

 

3. i added metadata components by right clicking on project Force.com >Add/remove metadata components

 

4.then i right click on my project Force.com >Deploy to server

 

i am getting failure error

Deploy Results:

File Name: applications/Rule.app Full Name: Rule Action: NO ACTION Result: FAILED Problem: In field: tab - no CustomTab named Rule__c found

File Name: objects/RuleAction_c.object Full Name: RuleAction_c Action: NO ACTION Result: FAILED Problem: manageruleactions does not exist or is not a valid override for action Edit.

File Name: pages/ManageRuleActions.page Full Name: ManageRuleActions Action: NO ACTION Result: FAILED Problem: Invalid field Notify_User_c for SObject RuleAction_c

can any one please tell a suitable path how to save the whole src folder code in development org

 

hi guys i have woring on METADATA Api 

 

and i have successfully create soap envelope to add new picklist value in picklist field

via

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:met="http://soap.sforce.com/2006/04/metadata">
   <soapenv:Header>
      <met:CallOptions>
         <met:client>---</met:client>
      </met:CallOptions>
      <met:SessionHeader>
         <met:sessionId>---</met:sessionId>
      </met:SessionHeader>
   </soapenv:Header>
   <soapenv:Body>
      <update xmlns="http://soap.sforce.com/2006/04/metadata">
     <!--Zero or more repetitions:-->
      <UpdateMetadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="customfield">
		    <currentName>lead.number__c</currentName>
		                
		      <metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CustomField">
		      <!--Optional:-->
		       <fullName>lead.number__c</fullName>
		       <label>number</label>
		    		<picklist>
		              <picklistValues>
		         			<fullName>new</fullName>
		              </picklistValues>
		         		 <sorted>false</sorted>
		  		</picklist>
		         <type>Picklist</type>
		    </metadata>
         </UpdateMetadata>
       </update>
   </soapenv:Body>
</soapenv:Envelope>

 Now issues I am facing , is

Is there any way to update / edit any particular picklist value ???

 

e.g , Object : Lead , field : number__c, type : picklist , picklist values : new , old 

 

any way i can edit "new " to "new_value" via meta data API .

 

Thanks to soap and metadata api developers in advance 

 

help in implementing below design requirements using triggers and apex class

1)      Create a ‘after insert’ trigger on the FeedItem object

2)      Create an apex class that has the following method

  1. public List<User> getSubscribedUsers(FeedItem feed)

3)      Use the class in step 3 with the trigger from step 1 to generate the list of users subscribed to the case record

4)      Create any additional method in step 2 as needed