• abha
  • NEWBIE
  • 0 Points
  • Member since 2013

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

I have created new user for my account. For that I cloned the 'Standard User' profile and created new profile named 'Basic User'. In this profile, I gave access rights to one of my App through permission set.

Initially that new user was unable to create objects. So I Enabled some of the "Administrative Permissions" like  'Customize Application', 'Modify All Data'. Now user can create objects and Visualforce pages.

This user should also be able to create apex controller class. Which permission must be enabled for that?

Any response will be greatly appreciated!!

 

  • March 24, 2013
  • Like
  • 0

My project involves an android app which detects user's location. I want to store that location on salesforce cloud. How can I pass latitude,longitude from android app to salesforce cloud? On cloud I am storing that coordinates in custom object. I am processing that coordinates on salesforce cloud.

Further on, when User sends request from website , I want to send some information(like name and address) from salesforce cloud to android app( i.e.. to several android users.).  How can I pass this information from android app to salesforce and vice a versa?  Is it possible to implement this functionality using REST? From where should I start?

Does anybody know some free app from app exchange, which is doing android-salesforce cloud communication?

  • March 23, 2013
  • Like
  • 0

I have 2 objects. DonLocation - it stores donor's username and its location (using geolocation)

ReqLocation - it stores hospital's username and its location. It stores location in 2 formats..one of them uses geolocation while other uses decimal fields to store latitude and longitude.

I am finding distance from certain hospital towards all donors. For that I am creating list of donors using SOQL query. Using for loop I am calculating distance for all donors.

But I facing many errors working with GEOLOCATION and DISTANCE function. Can anybody help me to solve this problem?

Here I am posting objects' structure and Code of controller class. Code Statement and error occuring for that statement is posted within comments.

Object 'DonLocation' structure  Object API name - DonLocation__c

Field Label                            API Name                          Data Type

DonorPlace                          DonorPlace__c                Geolocation

Username                            Username__c                  Text(20)

 

 

Object 'ReqLocation' structure  Object API name - ReqLocation__c

Field Label                             API Name                          Data Type

HospLat                                 HospLat__c                       Number(4, 14)

HospLocation                      HospLocation__c             Geolocation

HospLong                             HospLong__c                    Number(4, 14)

Username                            Username__c                    Text(20)

 

 

 

Controller class "NearestDonors" Code with comments

public class NearestDonors{
    public DonLocation__c dloc {get; set;}
    public ReqLocation__c hloc {get;set;}
    public double temp {get;set;}
    public double tempdouble {get;set;}
    public double tempnum {get;set;}
    public decimal tempdeci1 {get;set;}
    public decimal tempdeci2 {get;set;}
  // public location hgeo {get; set;}  Error: Compile Error: Invalid type: location at line 9 column 11
    
 public NearestDonors(){
    map<string, double> distances = new map<string, double>();

    hloc.HospLocation__Latitude__s=18.50134;
    hloc.HospLocation__Longitude__s=73.84113;

    
    List<DonLocation__c> dloclist = [select Username__c, DonorPlace__c from DonLocation__c];
  
    if ((dloclist.size()) > 0) 
    {
     for(DonLocation__c d : dloclist)
     {
         distances.put(d.Username__c,temp);
    /*tempnum = DISTANCE(GEOLOCATION(hloc.HospLat__c,hloc.HospLong__c),GEOLOCATION(d.DonorPlace__Latitude__s,d.DonorPlace__Longitude__s), 'km');
      Error: Compile Error: Method does not exist or incorrect signature: GEOLOCATION(Decimal, Decimal) at line 23 column 26*/
      
    /*tempdeci1=d.DonorPlace__Latitude__s;
      tempdeci2=d.DonorPlace__Longitude__s;
      tempnum = DISTANCE(GEOLOCATION(tempdeci1,tempdeci2),GEOLOCATION(hloc.HospLocation__Latitude__s,hloc.HospLocation__Longitude__s), 'km');
      Error: Compile Error: Method does not exist or incorrect signature: GEOLOCATION(Decimal, Decimal) at line 30 column 24*/

    /*tempnum = DISTANCE(GEOLOCATION(hloc.HospLocation__Latitude__s,hloc.HospLocation__Longitude__s),GEOLOCATION(d.DonorPlace__Latitude__s,d.DonorPlace__Longitude__s),'km');
     Error: Compile Error: Method does not exist or incorrect signature: GEOLOCATION(Decimal, Decimal) at line 33 column 26 */
    
    /*temp = DISTANCE(d.DonorPlace__c,GEOLOCATION(hloc.HospLocation__Latitude__s,hloc.HospLocation__Longitude__s), 'km');
      Error: Compile Error: Data type not supported at line 36 column 23*/
      
    /*temp=DISTANCE(d.DonorPlace__c, hloc.HospLocation__c, 'mi');
      Error: Compile Error: Data type not supported at line 39 column 21 */
      

    /*tempdouble = distance(DonorPlace__c,geolocation(hloc.HospLocation__Latitude__s,hloc.HospLocation__Longitude__s), 'km');
      Error: Compile Error: Variable does not exist: DonorPlace__c at line 43 column 29*/
      
      distances.put(d.Username__c,temp);
     
     }
    
    }
        }
}

 

Can anybody help me to resolve this error? Thanks in advance..

  • March 23, 2013
  • Like
  • 0

In general database structure, we relate 2 tables by specifying some column as a foreign key.

In my application I have created 2 custom objects "Donor" and "DonLogin". Donor contains all basic information like 'donorID', name, address.. While DonLogin have login information i.e.. fields like username, password etc. I want to create 1-1 relationship between Donor-DonLogin. DonorID is AutoNumber.  Can I relate these 2 objects using DonorID?

I am creating object records through visualforce page and controller class. I have managed to create records for both objects through same controller. But I want to take some field of 'Donor'(especially DonorID) and want to insert its value in 'DonLogin'.  It is giving me error saying 'DonorID is not writable field'. What should be done so that DonorID will be editable field?  I want to refer  this system generated value in other custom objects as a reference key. How to do this?

Master-detail relationship type does not allow any specific field to select as reference key. How can I set some field as a connection between 2 objects?

  • March 13, 2013
  • Like
  • 0

I have created custom object called 'students'. I have developed the visualforce page and controller class, which accepts student details and creates a new record. It is working properly when executed from 'https://c.ap1.visual.force.com/apex/StudentForm8'.. I.e. within the account. 

When I try to load this VF page from my website, it is giving me error like

Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it.

 

I checked the following things :-

1- custom object status is set as "Deployed"

2-  the site public access settings has Read, create and edit permission on this custom object

3- the Site public access settings  Field Level security are set as "Visible" for the fields that are displaying on this page 

4-  Page is associated with my site

 

Here I am attaching my code

Visualforce page "StudentForm8"

<apex:page controller="MyController8" tabStyle="Account" >
    <apex:form >
        <apex:pageBlock mode="edit">
            <apex:pageMessages />
            <apex:pageBlockSection >
                <apex:inputField value="{!Details.name}"/>
                <apex:inputField value="{!Details.Branch__c}"/>
                <apex:inputField value="{!Details.Subjects__c}"/>
                <apex:inputField value="{!Details.Aggregate__c}"/>
            
            </apex:pageBlockSection>
            <apex:pageBlockButtons location="bottom">
                <apex:commandButton value="Save" action="{!save}"/>
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

Controller code named "MyController8"

public class MyController8 {

    public Student__c stud { get; set; }
    public MyController8() {
     stud = new Student__c();
    }
        public Student__c getDetails() {
        return stud;
    }
    public PageReference save() {
        try {
            insert(stud);
        } catch(System.DMLException e) {
            ApexPages.addMessages(e);
            return null;
        }
      PageReference pageRef = new PageReference('http://myappmbb-developer-edition.ap1.force.com/RegiSuccess');
      return pageRef;
    }
}

 

After record creation page wasredirecting to system page showing detail new record. I thought it is creating problem as system page can't be available on website. So I redirected it to fix url "http://myappmbb-developer-edition.ap1.force.com/RegiSuccess".. RegiSuccess page is visible from my website.

 

 

In spite of all these things page is not accessible from website.

What would be the possible error?

Any kind of help would be greatly appreciated.

  • March 01, 2013
  • Like
  • 0

I have created custom object called 'students'. I have developed the visualforce page and controller class, which accepts student details and creates a new record. It is working properly when executed from 'https://c.ap1.visual.force.com/apex/StudentForm8'.. I.e. within the account. 

When I try to load this VF page from my website, it is giving me error like

Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it.

 

I checked the following things :-

1- custom object status is set as "Deployed"

2-  the site public access settings has Read, create and edit permission on this custom object

3- the Site public access settings  Field Level security are set as "Visible" for the fields that are displaying on this page 

4-  Page is associated with my site

 

Here I am attaching my code

Visualforce page "StudentForm8"

<apex:page controller="MyController8" tabStyle="Account" >
    <apex:form >
        <apex:pageBlock mode="edit">
            <apex:pageMessages />
            <apex:pageBlockSection >
                <apex:inputField value="{!Details.name}"/>
                <apex:inputField value="{!Details.Branch__c}"/>
                <apex:inputField value="{!Details.Subjects__c}"/>
                <apex:inputField value="{!Details.Aggregate__c}"/>
            
            </apex:pageBlockSection>
            <apex:pageBlockButtons location="bottom">
                <apex:commandButton value="Save" action="{!save}"/>
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

Controller code named "MyController8"

public class MyController8 {

    public Student__c stud { get; set; }
    public MyController8() {
     stud = new Student__c();
    }
        public Student__c getDetails() {
        return stud;
    }
    public PageReference save() {
        try {
            insert(stud);
        } catch(System.DMLException e) {
            ApexPages.addMessages(e);
            return null;
        }
      PageReference pageRef = new PageReference('http://myappmbb-developer-edition.ap1.force.com/RegiSuccess');
      return pageRef;
    }
}

 

After record creation page wasredirecting to system page showing detail new record. I thought it is creating problem as system page can't be available on website. So I redirected it to fix url "http://myappmbb-developer-edition.ap1.force.com/RegiSuccess".. RegiSuccess page is visible from my website.

 

 

In spite of all these things page is not accessible from website.

What would be the possible error?

Any kind of help would be greatly appreciated.

 

  • March 01, 2013
  • Like
  • 0

In my application user will enter his data on visualforce webpage. It should get saved in object models? Do I need to write any separate controller for that? How can I achieve this?

In addition, I am authenticating user's through customer portal. Whether I need some extra user's permissions or any changes in object's settings?

Can anybody provide me some tutorials, which contains data and visualforce page connectivity?

  • February 17, 2013
  • Like
  • 0

I implemented customer portal's login and registration functionality.

1. User logged in through customer portal can see those pages listed in site's visualforce pages list. But these pages are public. What setting do I need to do, so that pages will be available only to users' logged in though customer portal?

2. After login user gets the default page of customer portal. It is combination of site's home page and default tabs like home, cases, solutions, etc. How can I redirect login function to any other visulforce page? I tried to change startUrl but it is not working.  What changes are needed in following login code?

 

 global PageReference login() {
     String startUrl = System.currentPageReference().getParameters().get('startUrl');
        return Site.login(username, password,startUrl);
    }
  • February 17, 2013
  • Like
  • 0

I have developer edition account. I am implementing customer portal as stated in this ( https://na6.salesforce.com/help/doc/en/salesforce_customer_portal_implementation_guide.pdf ) guide. To enable customer portal, we need to set some user permissions like 'customize application', 'manage users' etc. How to set those permissions?

  • February 13, 2013
  • Like
  • 0

I have developer edition environment. I want to register and authenticate users visiting my site. For that I took help of Customer Portal. I did everything as told in this (http://wiki.developerforce.com/page/Authenticating_Users_on_Force.com_Sites) document. But for registering the new user it is giving me error like this

Error:

That operation is only allowed from within an active site.

 

My site is active. I took userID and change account owner role as stated in above document. But it is not working.

How to fix this error?

What else I can do to validate  users visiting the site?

  • February 09, 2013
  • Like
  • 0

I have developer edition environment. I want to register and authenticate users visiting my site. For that I took help of Customer Portal. I did everything as told in this (http://wiki.developerforce.com/page/Authenticating_Users_on_Force.com_Sites) document. But for registering the new user it is giving me error like this

Error:

That operation is only allowed from within an active site.

 

My site is active. I took userID and change account owner role as stated in above document. But it is not working.

How to fix this error?

What else I can do to validate  users visiting the site?

  • February 08, 2013
  • Like
  • 0

I want to develop login application on developerforce.com. Previously I developed such web project in java using Eclipse IDE. It was validating login request  using username and password stored in MySql database. I used JSP and servlet for this.

I created some web pages using JSP for accepting user's name and password; and for indicating successful or failed login. I created servlet which accepts HTTP request. then I connected my app to Mysql using JDBC. and finally sent HTTP response back, which is displayed on web page.

I want to develop same application on developer force. From where should I start? How to connect visualfroce web pages to db? Whether I have to store each (username . password) as a object? Where to write code for authentication? Can anybody help me with this?

  • February 06, 2013
  • Like
  • 0

In general database structure, we relate 2 tables by specifying some column as a foreign key.

In my application I have created 2 custom objects "Donor" and "DonLogin". Donor contains all basic information like 'donorID', name, address.. While DonLogin have login information i.e.. fields like username, password etc. I want to create 1-1 relationship between Donor-DonLogin. DonorID is AutoNumber.  Can I relate these 2 objects using DonorID?

I am creating object records through visualforce page and controller class. I have managed to create records for both objects through same controller. But I want to take some field of 'Donor'(especially DonorID) and want to insert its value in 'DonLogin'.  It is giving me error saying 'DonorID is not writable field'. What should be done so that DonorID will be editable field?  I want to refer  this system generated value in other custom objects as a reference key. How to do this?

Master-detail relationship type does not allow any specific field to select as reference key. How can I set some field as a connection between 2 objects?

  • March 13, 2013
  • Like
  • 0

I have created custom object called 'students'. I have developed the visualforce page and controller class, which accepts student details and creates a new record. It is working properly when executed from 'https://c.ap1.visual.force.com/apex/StudentForm8'.. I.e. within the account. 

When I try to load this VF page from my website, it is giving me error like

Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it.

 

I checked the following things :-

1- custom object status is set as "Deployed"

2-  the site public access settings has Read, create and edit permission on this custom object

3- the Site public access settings  Field Level security are set as "Visible" for the fields that are displaying on this page 

4-  Page is associated with my site

 

Here I am attaching my code

Visualforce page "StudentForm8"

<apex:page controller="MyController8" tabStyle="Account" >
    <apex:form >
        <apex:pageBlock mode="edit">
            <apex:pageMessages />
            <apex:pageBlockSection >
                <apex:inputField value="{!Details.name}"/>
                <apex:inputField value="{!Details.Branch__c}"/>
                <apex:inputField value="{!Details.Subjects__c}"/>
                <apex:inputField value="{!Details.Aggregate__c}"/>
            
            </apex:pageBlockSection>
            <apex:pageBlockButtons location="bottom">
                <apex:commandButton value="Save" action="{!save}"/>
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

Controller code named "MyController8"

public class MyController8 {

    public Student__c stud { get; set; }
    public MyController8() {
     stud = new Student__c();
    }
        public Student__c getDetails() {
        return stud;
    }
    public PageReference save() {
        try {
            insert(stud);
        } catch(System.DMLException e) {
            ApexPages.addMessages(e);
            return null;
        }
      PageReference pageRef = new PageReference('http://myappmbb-developer-edition.ap1.force.com/RegiSuccess');
      return pageRef;
    }
}

 

After record creation page wasredirecting to system page showing detail new record. I thought it is creating problem as system page can't be available on website. So I redirected it to fix url "http://myappmbb-developer-edition.ap1.force.com/RegiSuccess".. RegiSuccess page is visible from my website.

 

 

In spite of all these things page is not accessible from website.

What would be the possible error?

Any kind of help would be greatly appreciated.

  • March 01, 2013
  • Like
  • 0

I have created custom object called 'students'. I have developed the visualforce page and controller class, which accepts student details and creates a new record. It is working properly when executed from 'https://c.ap1.visual.force.com/apex/StudentForm8'.. I.e. within the account. 

When I try to load this VF page from my website, it is giving me error like

Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to reset it.

 

I checked the following things :-

1- custom object status is set as "Deployed"

2-  the site public access settings has Read, create and edit permission on this custom object

3- the Site public access settings  Field Level security are set as "Visible" for the fields that are displaying on this page 

4-  Page is associated with my site

 

Here I am attaching my code

Visualforce page "StudentForm8"

<apex:page controller="MyController8" tabStyle="Account" >
    <apex:form >
        <apex:pageBlock mode="edit">
            <apex:pageMessages />
            <apex:pageBlockSection >
                <apex:inputField value="{!Details.name}"/>
                <apex:inputField value="{!Details.Branch__c}"/>
                <apex:inputField value="{!Details.Subjects__c}"/>
                <apex:inputField value="{!Details.Aggregate__c}"/>
            
            </apex:pageBlockSection>
            <apex:pageBlockButtons location="bottom">
                <apex:commandButton value="Save" action="{!save}"/>
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

Controller code named "MyController8"

public class MyController8 {

    public Student__c stud { get; set; }
    public MyController8() {
     stud = new Student__c();
    }
        public Student__c getDetails() {
        return stud;
    }
    public PageReference save() {
        try {
            insert(stud);
        } catch(System.DMLException e) {
            ApexPages.addMessages(e);
            return null;
        }
      PageReference pageRef = new PageReference('http://myappmbb-developer-edition.ap1.force.com/RegiSuccess');
      return pageRef;
    }
}

 

After record creation page wasredirecting to system page showing detail new record. I thought it is creating problem as system page can't be available on website. So I redirected it to fix url "http://myappmbb-developer-edition.ap1.force.com/RegiSuccess".. RegiSuccess page is visible from my website.

 

 

In spite of all these things page is not accessible from website.

What would be the possible error?

Any kind of help would be greatly appreciated.

 

  • March 01, 2013
  • Like
  • 0

In my application user will enter his data on visualforce webpage. It should get saved in object models? Do I need to write any separate controller for that? How can I achieve this?

In addition, I am authenticating user's through customer portal. Whether I need some extra user's permissions or any changes in object's settings?

Can anybody provide me some tutorials, which contains data and visualforce page connectivity?

  • February 17, 2013
  • Like
  • 0

I implemented customer portal's login and registration functionality.

1. User logged in through customer portal can see those pages listed in site's visualforce pages list. But these pages are public. What setting do I need to do, so that pages will be available only to users' logged in though customer portal?

2. After login user gets the default page of customer portal. It is combination of site's home page and default tabs like home, cases, solutions, etc. How can I redirect login function to any other visulforce page? I tried to change startUrl but it is not working.  What changes are needed in following login code?

 

 global PageReference login() {
     String startUrl = System.currentPageReference().getParameters().get('startUrl');
        return Site.login(username, password,startUrl);
    }
  • February 17, 2013
  • Like
  • 0

I have developer edition account. I am implementing customer portal as stated in this ( https://na6.salesforce.com/help/doc/en/salesforce_customer_portal_implementation_guide.pdf ) guide. To enable customer portal, we need to set some user permissions like 'customize application', 'manage users' etc. How to set those permissions?

  • February 13, 2013
  • Like
  • 0

I want to develop login application on developerforce.com. Previously I developed such web project in java using Eclipse IDE. It was validating login request  using username and password stored in MySql database. I used JSP and servlet for this.

I created some web pages using JSP for accepting user's name and password; and for indicating successful or failed login. I created servlet which accepts HTTP request. then I connected my app to Mysql using JDBC. and finally sent HTTP response back, which is displayed on web page.

I want to develop same application on developer force. From where should I start? How to connect visualfroce web pages to db? Whether I have to store each (username . password) as a object? Where to write code for authentication? Can anybody help me with this?

  • February 06, 2013
  • Like
  • 0

hi i was trying to insert a set of data to a custom object i was able to do it in normal visual force page but when i checked it on sites i was not able to this is the code i used.

 

 

controller

 

 

public class conedits 
{
    public guestuser__c guest{get;set;}

    public PageReference cancel() {
        return null;
    }


    

string conid;
    public contact led{get;set;}

    public conedits() 
    {
    this.conid=ApexPages.currentPage().getParameters().get('paramID');   
        if(conid!=null||conid!='')
        {
            getdetails(conid); 
        }   

    }

    
    //public preference(ApexPages.StandardController controller)
    //{
        // get the id of the quote and store it in quoteid
      //  this.leadid=ApexPages.currentPage().getParameters().get('paramID');   
       // if(leadid!=null||leadid!='')
      //  {
            //getdetails(leadid); 
      //  }    
   // }
    public void getdetails(string conid)
    {
        List<contact> cons=[select id,Email,Phone,Title,HasOptedOutOfEmail,A_H_Interest__c,Aftermarket_Interest__c,Construction_Interest__c,D_O_Interest__c,Energy_Interest__c,Environmental_Interest__c,Financial_Enterprises_Interest__c,Healthcare_Interest__c,Manufacturing_Interest__c,Property_Interest__c,Real_Estate_Interest__c,Technology_Interest__c,Windstorm_Notification__c from contact where Id=: conid];
        if(cons.size()>0)
        {
            led=cons[0];
        }
        else
        {
            
        }
    }
    public void save()
    {
        guest = new guestuser__c();
        guest.Email__c= led.email;
        guest.Title__c = led.title;
        guest.Email_Optout__c = led.HasOptedOutOfEmail;
        guest.Phone__c = led.Phone;
        guest.Healthcare_interests__c = led.Healthcare_Interest__c;
        guest.Environmental_interests__c = led.Environmental_Interest__c;
        guest.Energy_interests__c = led.Energy_Interest__c;
        guest.Technology_interests__c = led.Technology_Interest__c;
        guest.RealEstate_interests__c= led.Real_Estate_Interest__c;
        guest.A_H_interests__c = led.A_H_Interest__c;
        guest.D_O_interests__c = led.D_O_Interest__c;
        guest.After_Markets_interests__c = led.Aftermarket_Interest__c;
        guest.Construction_interests__c = led.Construction_Interest__c;
        guest.Windstorm_notification_interests__c = led.Windstorm_Notification__c;
        guest.Property_interests__c = led.Property_Interest__c;
        guest.Financial_Enterprises_interests__c = led.Financial_Enterprises_Interest__c;
        guest.Manufacturing_interests__c = led.Manufacturing_Interest__c;
        insert (guest);
        
    }
    
}

 

 

VF page

 

 

 

<apex:page showHeader="false" controller="conedits">
  <apex:form >
  <apex:pageBlock title="My Preferences" mode="edit">
  <apex:pageBlockButtons >
  <apex:commandButton action="{!save}" value="submit"/>
  <apex:commandButton action="{!cancel}" value="cancel"/>
  </apex:pageBlockButtons>
  <apex:pageBlockSection title="Personal Information" columns="2">
  <apex:pageBlockSectionItem >
  <apex:outputText >Email &nbsp;
  <apex:inputText value="{!led.email}" title="email"/></apex:outputText> </apex:pageBlockSectionItem>
 
 <apex:pageBlockSectionItem > 
 <apex:outputText >Phone &nbsp;<apex:inputText value="{!led.phone}" title="Phone"/></apex:outputText></apex:pageBlockSectionItem>
 
 <apex:pageBlockSectionItem >
 <apex:outputText >Title &nbsp;&nbsp;&nbsp; <apex:inputText value="{!led.title}" title="Title"/></apex:outputText>
 </apex:pageBlockSectionItem>
 
 <apex:pageBlockSectionItem >
 <apex:outputText >Email Optout &nbsp;<apex:inputCheckbox value="{!led.HasOptedOutOfEmail}" title="Emailoptout"/></apex:outputText>
 </apex:pageBlockSectionItem>
  </apex:pageBlockSection>
  
  <apex:pageBlockSection title="My Interests" columns="3">
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Real Estate &nbsp;<apex:inputCheckbox value="{!led.Real_Estate_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Property &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Property_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Manufacturing &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Manufacturing_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Healthcare &nbsp;&nbsp;<apex:inputCheckbox value="{!led.Healthcare_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Technology &nbsp;<apex:inputCheckbox value="{!led.Technology_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Environemntal &nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Environmental_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Energy &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Energy_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Construction <apex:inputCheckbox value="{!led.Construction_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >After Market &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Aftermarket_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Windstorm &nbsp;&nbsp;<apex:inputCheckbox value="{!led.Windstorm_Notification__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  <apex:pageBlockSectionItem >
  <apex:outputText >A&amp;H &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.A_H_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
   <apex:pageBlockSectionItem >
  <apex:outputText >D&amp;O &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.D_O_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  
  <apex:pageBlockSectionItem >
  <apex:outputText >Financial &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<apex:inputCheckbox value="{!led.Financial_Enterprises_Interest__c}"/></apex:outputText>
  </apex:pageBlockSectionItem>
  
  </apex:pageBlockSection>
  </apex:pageBlock>
  </apex:form>
</apex:page>

 

can anybody suggest me how to make it work on sites.