• onetwokathree
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 8
    Questions
  • 3
    Replies

we are Customizing logo for our website also enabled CustomerPortal  in developer edition.

we have set all settings according to [force_platform_cookbook_final.pdf] page no 184.

 

Due to above settings our company logo has showing  on siteLogin page,siteRegister, forgotPassword page.

but our company logo not showing in Visulaforce force pages which we have created.

 

any hint we be greatly appriciated.

Hi i have enabled customer portal and all user register from the siteRegister page stored in customer portal.

has any body idea to list all customer Portal User in to visual force page?

 

Hi, I have created customer portal and added visual force tab also. there is default Home Tab which we can't remove from customer portal.

but can we change the home page content?

 

if we create multiple customer portal then what would be happen with Home Tab?

Can we use different Home tab for different customer portal?

 

any hint would be very helpful.

We want user to register with information and username and password and login with same username and password. [yes we also know that Salesforce does not permit to create any kind of custom login functionality on the portal/site.It is considered as a violation of terms of force.com]

 

Is there any way or resources from where i can get how to implement public login and registration? We are facing this problem since last 2 weeks.......

 

we also read sso feature provided by the force.com but it did't help us to develop login and registration form.

there is two ways SAML and delegated authentication. i think we need delegated authentication for this, and it must be enabled from force.com. is it possible in developer edition?

 

 

 

 

 

We have two dropdown lists binded from SOQL query in apex programming, 

on change event we want related value in other dropdown lis. the code is given below

 

Onchange event of course list we have called method  {!getsublist} ,which get courses1 value and pass to the query. which is not returning subjects related to the courses

 

 

VF Page Code:

      <apex:actionRegion >
            <apex:panelGrid columns="2">                   
                   <apex:outputlabel value="Select Course" for="values" />
                   <apex:selectList value="{!courses}" size="1" >
                    <apex:actionSupport event="onchange" action="{!getsublist}" rerender="subjt"/>                                   
                     <apex:selectOptions value="{!SelectCourseoptions}"/>
                     </apex:selectList>
            </apex:panelGrid> 

              </apex:actionRegion>
                    <apex:pageblockSection id="dependentSubjectType">
                    <apex:panelGrid columns="2">
                            <apex:outputLabel value="Select Subject" />
                            <apex:selectList disabled="false" id="subjt" value="{!subjects}" size="1" >
                                <apex:selectOptions value="{!SelectSubjects}"/>
                            </apex:selectList>
                    </apex:panelGrid>
                    </apex:pageBlockSection>

 

 

Apex Code :

 

public class AddQuestionsextensions
{
    //The code creates an sObject with the structure of the Add_Question__c object, and gives that object the name of 'addquestion'. This object will only be accessible to methods inside this class, so it is defined as private
    private final Add_Question__c addquestion;
    course__c c;

     public string courses1;
     public string subjects;

       public String courses
        {
            get {return courses1;}
            set {courses1= value;}
        }
          


       public String getsubjects()
        {
            return subjects;
        }
          
       public  void setsubjects(String subjects)
        {
            this.subjects= subjects;
        }       

    //The 'addquestion' variable is now tied to the same record as the standard controller, allowing the controller extension to operate in synch with the standard controller.   
    public AddQuestionsextensions(ApexPages.StandardController addquestionController)
    {
    this.addquestion= (Add_Question__c)addquestionController.getRecord();
    }
    public List<selectOption> getSelectCourseoptions()
    {

            List<selectOption> SelectCourse = new List<selectOption>();

              List<Course__c> courselist = new List<Course__c>();
              courselist = [Select  id, Main_course_name__c FROM Course__c ];
              SelectCourse.add(new SelectOption('0','Select Course'));
              for (Integer j=0;j<courselist.size();j++)
              {
                  SelectCourse.add(new SelectOption(courselist[j].id,courselist[j].Main_course_name__c));
                 
              }      
            return SelectCourse ;

    }  

        public List<selectOption> getSelectSubjects()
        {

          //c.id=add_question__c.instruction__c;
          List<selectOption> SelectSubject =  new List<selectOption>();
          List<Subject__c> subjectlist= new List<Subject__c>();
         
          subjectlist= [Select Subject_Name__c FROM Subject__c s where Parent_Course__r.Main_course_name__c =:courses1];


          SelectSubject.add(new SelectOption('0','Select Subject'));
          for (Integer j=0;j<subjectlist.size();j++)
          {          
            SelectSubject.add(new SelectOption (subjectlist[j].Id,subjectlist[j].Subject_Name__c));
                       
          }           
        return SelectSubject;
        }


      public void getsublist()
      {
        getSelectSubjects(); 
      }
}

 

 

We have created one cutom object "Add questions" having some fields.

From VF we have created page with controller Extention for custom object(Add question) and added one text field dynamiccally on page to existing object(Add question) and override Custom Object (Add question) by the VF Page.

 

when we try to insert record to the overrided(Add question) object, then value of the newly added text field not saved in the Object.

how i can do this, please help us.

 

Hi we are new to force.com to develop web application (or websites) on the force.com, we found many usefull pdf of Cookbooks, fundamental, visual force developers books, and view sample website of the force.com. we like the website they design and want to design dynamic content website.

 

we need a website where user can register with details and password after that user can login to the portal(website) after deployment to web.

 

we also studied about sitelogin and siteregister visual force pages but it never helps our concept.
can any body help us to design portal website and reference of useful resource for the development.

 

This is basic functionality in other programming language, we are facing problem in force.com platform.

We are developing a web application in which we have two objects "Courses" and "Subjects".

 

We have created the master-detail relationship in which, Object "Course" is the master and object "Subject" is the child relationship.

 

 From subject tab we adding subjects under the Course Object.

 

We have createed a visualforce page and using apex programming on which we need to show only those subjects in picklist, which are added under Course Object from Subject Tab.

 

How we can bind Subject picklist dependent on Course Picklist ?

 

 

 

we are Customizing logo for our website also enabled CustomerPortal  in developer edition.

we have set all settings according to [force_platform_cookbook_final.pdf] page no 184.

 

Due to above settings our company logo has showing  on siteLogin page,siteRegister, forgotPassword page.

but our company logo not showing in Visulaforce force pages which we have created.

 

any hint we be greatly appriciated.

Hi i have enabled customer portal and all user register from the siteRegister page stored in customer portal.

has any body idea to list all customer Portal User in to visual force page?

 

Hi we are new to force.com to develop web application (or websites) on the force.com, we found many usefull pdf of Cookbooks, fundamental, visual force developers books, and view sample website of the force.com. we like the website they design and want to design dynamic content website.

 

we need a website where user can register with details and password after that user can login to the portal(website) after deployment to web.

 

we also studied about sitelogin and siteregister visual force pages but it never helps our concept.
can any body help us to design portal website and reference of useful resource for the development.