• The
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 6
    Replies

Hi all,

 

I see this is a common issue but I wasn't able to successfully apply any of the advice i've seen (ensured all namespaces were in place, looked for deleted fields).  We have an urgent need to get this new version of our package deployed to a customer instance for a demonstration on Monday morning.  Silly me for being behind schedule but, you know how it goes sometimes. 

 

We have submitted a case but I'm hoping that someone at SFDC sees this and can help me out.  We submitted case #04139490 via the partner portal and here is the text:

 

Thanks

 

Eric

 

I successfully uploaded version 2.1 of my package (Amplify Health) today and tried installing it in an org where version 2.0 is already installed (org ID: 00DA00000009OPt). The installation fails and I receive the following information:

Organization: USHWorks (00DA00000009OPt)
User: Florence Lankford (005A0000001O1kN)
Package: Amplify Health (04t500000001kaX)
Error Number: 1100884101-2251 (-1056987895)

This is a critical issue--the upgraded package needs to be put in place for a demo tomorrow. Please help resolve as quickly as possible

 

Hi,

 

Just looking for some help with how to set up a test class for a class that simply sends an email.

 

My Code:

 

global

 

class SendOpenCasesEmail_CompanyName implements Schedulable {

global

}

 

void execute (SchedulableContext SC){

public

{Messaging.SingleEmailMessage mail =

mail.setTargetObjectId(

void SendEmail()new Messaging.SingleEmailMessage();'0035000000RXXXc'); //email recipient id

mail.setTemplateId(

'00X5000000XXXgY'); //email template id

String[] ccaddress =

ccaddress.add(

ccaddress.add(

ccaddress.add(

ccaddress.add(

mail.setccAddresses(ccaddress);

mail.setWhatID(

new String[]{};'joe@abc.com');'jane@abe.com'));'0015000000XXXt4'); //account id (show cases for this account)

Messaging.sendEmail(

}

 

}

 

 

thank you!

new Messaging.SingleEmailMessage[] { mail });

 

 

We have an existing application that we've been installing for quite some time.  In it, there are formula fields that reference S-Controls and Images.  Previously when we deployed these applications, the S-Control & Image object ID's would dynamically get deployed with the respective object ID for the application it was being installed on.  As of 2 weeks ago, this process changed and now when the package installs, it retains the object ids of the developer account we installed it from, and therefore the application does not work.
 
Here is an example of a formula field in this scenario:
 
IF(ISPICKVAL(Completed__c,"YES"), IMAGE("/servlet/servlet.FileDownload?file=01570000000KSli","Complete"), IF(ISPICKVAL(Completed__c,"NA"), IMAGE("/servlet/servlet.FileDownload?file=01570000000KSli", "N/A"), HYPERLINK("/servlet/servlet.Integration?lid=01N700000000n0f&eid=" & Id & "&cid=" & Checklist__c & "&sid=" & $Api.Session_ID & "&retURL=%2F" & Checklist__c & "&Completed=YES&CompletedBy=" & $User.Id, IMAGE("/servlet/servlet.FileDownload?file=01570000000KSlm","Cls"), "_self")))
 
The red bolded IDs are the object ids for the images.  The blue bolded ID is the ID of the S-Control.    Again, when installing this package in the past, these IDs would automatically be changed to the correct IDs for the objects in the application it was being installed on.
 
We have an existing application that we've been installing for quite some time.  In it, there are formula fields that reference S-Controls and Images.  Previously when we deployed these applications, the S-Control & Image object ID's would dynamically get deployed with the respective object ID for the application it was being installed on.  As of 2 weeks ago, this process changed and now when the package installs, it retains the object ids of the developer account we installed it from.
 
Here is an example of a formula field in this scenario:
 
IF(ISPICKVAL(Completed__c,"YES"), IMAGE("/servlet/servlet.FileDownload?file=01570000000KSli","Complete"), IF(ISPICKVAL(Completed__c,"NA"), IMAGE("/servlet/servlet.FileDownload?file=01570000000KSli", "N/A"), HYPERLINK("/servlet/servlet.Integration?lid=01N700000000n0f&eid=" & Id & "&cid=" & Checklist__c & "&sid=" & $Api.Session_ID & "&retURL=%2F" & Checklist__c & "&Completed=YES&CompletedBy=" & $User.Id, IMAGE("/servlet/servlet.FileDownload?file=01570000000KSlm","Cls"), "_self")))
 
The red bolded IDs are the object ids for the images.  The blue bolded ID is the ID of the S-Control.    Again, when installing this package in the past, these IDs would automatically be changed to the correct IDs for the objects in the application it was being installed on.
 
Has anyone incurred any changes in the behavior of packaging in the last month or so?  Any help would be much appreciated.  Thanks, Cecilia