This is a public Forum  publicRSS

Topic

    shreesha
    INSERT DATA USING CONNECT PHP OR ROQLAnswered
    Topic posted April 13, 2018 by shreeshaWhiz, last edited April 13, 2018 
    63 Views, 2 Comments
    Title:
    INSERT DATA USING CONNECT PHP OR ROQL
    Content:

    Hi,

    I have Custom Object with 4 fields including 1 Field is Organization relationship. How can i insert Record using from Customer Portal. 

    I have created form in Customer portal. based on this Custom Object. As i know we have to insert using Controller Ajax. Is there any document related to this.

    Object Fields:

    1. ID
    2. Transaction Date
    3. Transaction Desc
    4. Organization

    Can anyone suggest me best approach to achieve this.

    Thanks in Advance.

    Version:
    November2016

    Best Answer

    Suresh Thirukoti

    Shreesha - You have to go with custom input widget and custom controller...there is a nice example SiteInfo in the customer portal samples ....attaching here...

    In high level

    • extend custom input widgets to handle custom object columns
    • create a custom controller with custom object code
    • in the customer portal page, update action tag with custom controller

     

    ~Suresh

    Answer

     

    • Suresh Thirukoti

      Shreesha - You have to go with custom input widget and custom controller...there is a nice example SiteInfo in the customer portal samples ....attaching here...

      In high level

      • extend custom input widgets to handle custom object columns
      • create a custom controller with custom object code
      • in the customer portal page, update action tag with custom controller

       

      ~Suresh

    • shreesha

      Thanks Suresh, It helps a lot.