Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Visualforce remoteobject

993 Aufrufe

Veröffentlicht am

My presentation in Chennai Salesforce Developer meetup

  • Als Erste(r) kommentieren

Visualforce remoteobject

  1. 1. Chennai Salesforce Platform Developer User Group
  2. 2. Visualforce Remote Object Sep 27, 2014
  3. 3. Speaker Karanraj Salesforce Developer @karanrajs
  4. 4. Visualforce Remote Object 1. Useful tool for quickly creating pages with basic data operations. 2. DML operation from Java script. 3. What are current possible method? 1. API call 2. Java script remoting[With Apex controller] 4. More suitable for Salesforce1 application. 5. No Apex controller and No Test class  #SalesforceChennai
  5. 5. Remote object parts 1. Access definition – Written in visual force 2. Data access function – Written in java script. 3. Supported actions in Data access function 1. Retrieve 2. Create 3. Update 4. Upsert 5. Delete
  6. 6. Demo #SFDUGChennai
  7. 7. Initiate and Get Records 1. Initiate the remote object 2. Retrieve method #SalesforceChennai
  8. 8. Create, Update and Delete 3. Create – sObjectModel.Create() 4. Update – sObjectModel.update(); 5. Delete – sObjectModel.del();
  9. 9. Tips • Field level security • Transaction Boundaries • Avoid complex business logic in java script #SFDUGChennai
  10. 10. Limits • All your Visualforce limits still apply. You can’t escape  • You can retrieve a maximum of 100 rows in a single request. [Use OFFSET to query more]
  11. 11. Try it yourself!  Source Code - http://bit.ly/VFRemoteobj  Create a Visualforce page  Paste the code and run it #SFDUGChennai
  12. 12. Salesforce1 Resources  Visualforce Developer Guide – http://bit.ly/VFGuide  Blogs:  Visualforce Remote Object - http://bit.ly/Remoteblog #SFDUGChennai
  13. 13. Thank You

×