You need to sign in to do that
Don't have an account?
Mikesfdc123
Drag and Drop...
Hi all -
Can you please suggest a starting point for learning required code - APEX/Visualforce (or another method) for enabling drag and drop functionality on the front-end - for users and even internal staff. For example, if creating a blueprint and have objects such as walls, roof, chiminey, ... and wanted to pick each object up and move to respective place...
Please let me know if you need any more information.
Thanks!
Mike
Standard Salesforce UI features will not give you drag/drop capabilities, but its fairly easy to implement a 3rd party Javascript library like jQuery which does drag/drop very well. There is some good information on jQuery usage with Salesforce on (@teh_nrd) Jason Venables blog: http://www.tehnrd.com/
You will need to know how to build a Visualforce page with an Apex controller, plus know how to implement jQuery.
You can also use Flex or YUI (my personal favorite) for drag and drop libraries. Just google YUI and flex.
Thank you very much for those suggestions. They have already been very helpful. Do you have any best practices for making a field's record from Salesforce available on a Visualforce page, such as Contact Name from the Contact Object and being able to "drag and drop" on a page, such as on top of a shape? Any suitable examples online for reference or thoughts?
The drag and drop properties are available only using some third party tools such as jquery, YUI or Flex
Should suggest, you refer to this for development using Flex.
http://developer.force.com/flextoolkit
The objects can be accessed using WSDL and REST Api