• Nagaraju Gorli
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 0
    Replies
//Whaen i insert the Attachment Code ,i write below code .But im getting FLS security issuess plz help me

        if(Schema.sObjectType.Attachment.fields.Ownerid.isCreateable())
            attachment.Ownerid = tsk.ownerid;
        if(Schema.sObjectType.Attachment.fields.ParentId .isCreateable())
            attachment.ParentId = tsk.Id; // the record the file is attached to
        if(Schema.sObjectType.Attachment.fields.ContentType.isCreateable())        
            attachment.ContentType=ContentType;
        if(Schema.sObjectType.attachment.fields.Name.isCreateable())
            attachment.name = fileName;
        if(attachment.body<>null){
            if (Schema.sObjectType.Attachment.fields.body.isCreateable()){
                insert attachment;   
            }                
        }
HI , 
I need to uploade image in to static resource through visualforce page & controller.
Hi,

I am getting 'Open redirection (DOM-based)' error on all my pages in burp scan report.

Can you help me to resolve this
how to wor with translation work bench in salesforce.In my application all labels are change in to salesforce supported languages.i want to use import and export options .please help me ,any one knowing export and import process in salesforce.