• aroyal
  • NEWBIE
  • 0 Points
  • Member since 2008
  • Technical Lead
  • TCS

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

Can we develop a .Net Application as a package and while install it to the salesforce.com can we create custom objects ??

 

can we do that in salesforce.com ?

  • September 03, 2009
  • Like
  • 0

I need to enable inline Editing in Visual force Page , i cant enable this in my visual force page ,

Can anyone tell me how can we enable or any oher way to edit the page without standard edit action ?

  • August 18, 2009
  • Like
  • 0

Hi ,  

 

I need to know about cost for SFDC customer portal . What is the Exact rate per user per month for customer portal .If I am going to use 1000 users per month what will be the charge

  • August 17, 2009
  • Like
  • 0

I need to enable salesforce users to login into sites , It only allows Customer portal Users.

 

I dont know which users can be authenticated in  Sites.

 

Can we login as Standard user or Administrator in sites?

 

What are all the ways to login into Sites ?

 

 Can anyone help me for this .......

 

  • August 07, 2009
  • Like
  • 0

I need to add a custom page layout in Package , but Add option for Package there is no PageLayout .

how can i add a pagelayout to Lead object in package ??

can we do that in package?

 

 

  • August 07, 2009
  • Like
  • 0

I need to hide Textbox or fields in Detailpage depends upon the Picklist values

 

I tried lot of methods. cant solve this

can we hide the fields in Record details page ??

anyone help me for this ?

 

 

  • August 04, 2009
  • Like
  • 0

I need to display only the content of the word document in a visual force Page  and document will be in the contact record.

 

 i have the Custom Attachment button in contact details page  , when i click the that button the coresponding attachment content will show the Visual force page , I can retrieve the attachment via query and converted to string , but i cant assign body of the content in to visual force page,

 

any one help me for this???

 

can u refer any examples ?

   

 

 

Code:

 

public class AttachmentDownloadExtension
{
    public AttachmentDownloadExtension(ApexPages.StandardController controller) {

    }


private Blob fileBody{get; set;}
public String str{get; set;}
private final Contact contact;
public String getstr()
{      
return this.str;  
}      
public Blob getFileBody()  
{      
return this.fileBody;  
}
public void setFileBody(Blob fileBody) 
{      
this.fileBody = fileBody;      
}

private ID contactid = ApexPages.currentPage().getParameters().get('id');

    public string AttachmentDownloadExtension(ApexPages.StandardController controller)
     {
      Attachment[] attach = [Select body, bodyLength, ContentType, ParentId from Attachment where ParentId =: contactid ];   
      Blob b = attach[0].body;
      str = b.toString();
      return str;
}

}

Hi all ,

          I want to know what is the exact difference between salesforce.com and Force.com ,

          Can any one help me to know about that?

 

 

Hi,

 

    I need to save a contact with attachment using force.com sites, but it save while i am using visual page, but i cant    save with attachments while using sites?  with no error.

   

    please find the solution.

   

    Here is the code:

 

    Visual Force:

 

    <apex:page controller="UploadAttachmentController"> 
    <apex:form id="theForm" forceSSL="true">
      <apex:pageBlock >
      <apex:pageBlockSection >
      <apex:inputFile id="f1" value="{!docBlob}"  fileName="{!contact.name}" />
 
          <apex:inputText id="c1" value="{!contact.LastName}" />
          <apex:commandButton action="{!CommitFile}" value="save" id="com2"/>
      </apex:pageBlockSection>
       </apex:pageBlock>
    </apex:form>
     <apex:listViews type="contact"/>
     <apex:listViews type="document" >
     </apex:listViews>
</apex:page>

 

 

Apex Class:

 

 

public class UploadAttachmentController {
    public PageReference save() {
        return null;
    }


    public String docBlob { get; set; }

    public String getAttachment() {
        return null;
    }


Contact contact;
    public Contact getContact() 
    {
    if(contact == null) contact = new Contact();
    return contact;
    }    
  public PageReference CommitFile() 
  {   
        //Contact contact = new contact(); 
        contact.lastname = contact.lastname;
        insert contact;
        Id id = System.currentPageReference().getParameters().get('id'); 
       
       
        Attachment attachment = new Attachment(); 
        PageReference Pg = new PageReference('https://na6.salesforce.com/p/attach/NoteAttach');
        //attachment.Body = Pg.getContent(); 
        Blob docBlob = Pg.getContent();
        attachment.Body = docBlob ;
        attachment.Name = contact.name;
        attachment.ParentId = contact.id;
        
        insert attachment;
        
        return null;
    }

}

 

  

I need to apply salesforce theme for a S-Control , i dont know about that . can anyone help me for this ?

  • April 27, 2009
  • Like
  • 0

Hi all ,

          I want to know what is the exact difference between salesforce.com and Force.com ,

          Can any one help me to know about that?

 

 

I need to hide Textbox or fields in Detailpage depends upon the Picklist values

 

I tried lot of methods. cant solve this

can we hide the fields in Record details page ??

anyone help me for this ?

 

 

  • August 04, 2009
  • Like
  • 0

I need to display only the content of the word document in a visual force Page  and document will be in the contact record.

 

 i have the Custom Attachment button in contact details page  , when i click the that button the coresponding attachment content will show the Visual force page , I can retrieve the attachment via query and converted to string , but i cant assign body of the content in to visual force page,

 

any one help me for this???

 

can u refer any examples ?

   

 

 

Code:

 

public class AttachmentDownloadExtension
{
    public AttachmentDownloadExtension(ApexPages.StandardController controller) {

    }


private Blob fileBody{get; set;}
public String str{get; set;}
private final Contact contact;
public String getstr()
{      
return this.str;  
}      
public Blob getFileBody()  
{      
return this.fileBody;  
}
public void setFileBody(Blob fileBody) 
{      
this.fileBody = fileBody;      
}

private ID contactid = ApexPages.currentPage().getParameters().get('id');

    public string AttachmentDownloadExtension(ApexPages.StandardController controller)
     {
      Attachment[] attach = [Select body, bodyLength, ContentType, ParentId from Attachment where ParentId =: contactid ];   
      Blob b = attach[0].body;
      str = b.toString();
      return str;
}

}

Hi all ,

          I want to know what is the exact difference between salesforce.com and Force.com ,

          Can any one help me to know about that?

 

 

Hi,

 

    I need to save a contact with attachment using force.com sites, but it save while i am using visual page, but i cant    save with attachments while using sites?  with no error.

   

    please find the solution.

   

    Here is the code:

 

    Visual Force:

 

    <apex:page controller="UploadAttachmentController"> 
    <apex:form id="theForm" forceSSL="true">
      <apex:pageBlock >
      <apex:pageBlockSection >
      <apex:inputFile id="f1" value="{!docBlob}"  fileName="{!contact.name}" />
 
          <apex:inputText id="c1" value="{!contact.LastName}" />
          <apex:commandButton action="{!CommitFile}" value="save" id="com2"/>
      </apex:pageBlockSection>
       </apex:pageBlock>
    </apex:form>
     <apex:listViews type="contact"/>
     <apex:listViews type="document" >
     </apex:listViews>
</apex:page>

 

 

Apex Class:

 

 

public class UploadAttachmentController {
    public PageReference save() {
        return null;
    }


    public String docBlob { get; set; }

    public String getAttachment() {
        return null;
    }


Contact contact;
    public Contact getContact() 
    {
    if(contact == null) contact = new Contact();
    return contact;
    }    
  public PageReference CommitFile() 
  {   
        //Contact contact = new contact(); 
        contact.lastname = contact.lastname;
        insert contact;
        Id id = System.currentPageReference().getParameters().get('id'); 
       
       
        Attachment attachment = new Attachment(); 
        PageReference Pg = new PageReference('https://na6.salesforce.com/p/attach/NoteAttach');
        //attachment.Body = Pg.getContent(); 
        Blob docBlob = Pg.getContent();
        attachment.Body = docBlob ;
        attachment.Name = contact.name;
        attachment.ParentId = contact.id;
        
        insert attachment;
        
        return null;
    }

}