• ps7d
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
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