• gokuro72
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 9
    Replies
We need to be able to import binary files to the "Files" related list that replaces the Attachments feature in Salesforce Lightning.

I cannot find any example of doign this in either API or with Data Loader.

And example using curl would be ideal if someone can produce one, thanks
We need to be able to import binary files to the "Files" related list that replaces the Attachments feature in Salesforce Lightning.

I cannot find any example of doign this in either API or with Data Loader.

And example using curl would be ideal if someone can produce one, thanks
Hi,

I am trying to install a managed package using the Migration tool and ANT scripts. However, I am able to do it in two steps 

1- Install a managed package in dev environment
2- Retrieve the package into the local system via ANT
3- Connect to another dev environment and deploy the package from local system via ANT

Is there any way where I can directly use ANT scripts to install the managed package into Salesforce?

Regards,
Satya
 
MetaData API:  version 31
There is an issue when deploying Case Assignment Rules when a Predefined Case Team is assigned for more than one Rule.
Here is the deployment error: "Duplicate case team entry for SalesShare".
The workaround for the issue :
  1. Remove the following code from the Assignment Rules metadata XML " <team>SalesShare</team>"
  2. Deploy the Assignment Rule
  3. Manually update the Rules which have the Predefined Case Teams back
Hopefully, we should have a resolution with Metadata API version 33 when it is released for Spring 15.

Has anyone experienced this before ?  


 

Here is an odd one.  We've created a new Note object, with Notes & Attachments as a Related list.  We created the new Note object in order to have some custom fields, and still have attachments.

 

We've created a VF page for the upload, and everything works properly on some machines using IE9 and for all (?) machines using Firefox.

 

Pretty standard stuff.  Here is the pertinent VF code:

 

<apex:inputfile value="{!myfile.body}" fileName="{!myfile.Name}" />

 

It saves the attachment in the N&A related list on the new Note object, and sets the Name to the filename.  Everything works great, and as intended.

 

However, on certain machines using IE9, the filename is set to the full path+filename (minus any slashes) when the file is saved.  This seems to have happened recently (last few weeks) for some machines, but no settings were changed in IE9 during that time that we know of.

 

Example:

 

File located at C:\Users\UserName\Desktop\file.doc on the user's machine

 

So, on the machines where it is working correctly, the file is is uploaded and is saved with a fileName of "file.doc."

 

However, on the machines where it is NOT working correctly, the file is uploaded and is saved with a fileName of "C:UsersUserNameDesktopfile.doc".

 

We've tried clearing cache and cookies in IE on those machines.  Those same machines will create the file with the proper title (file.doc) when using Firefox.  We figure it must be a setting or cache in IE on certain machines that is causing the problem.

 

Any ideas?

 

Thanks in advance.

  • December 11, 2012
  • Like
  • 0