• WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Salesforce
        • Implementations
          • Sales Cloud
          • Service Cloud
          • CPQ
          • Field Service Lightning
          • Field Service for SMEs
        • Developments
          • Salesforce Customization
          • Custom Application Development
          • AppExchange Product Development
        • Migrations
          • Classic to Lightning Migration
          • Other Systems to Salesforce Migration
        • Integrations
      • Data Science
        • BI Solutions
        • AI/ML solutions
        • Agentic AI
    • HOW WE DO
      • Delivery Model
      • Our Works
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG

Visualforce Dynamic Page Design in Salesforce

  • August 1, 2017
  • Merfantz Editor
  • Salesforce Developments Tutorial
  • 0

We have provided the basics, how to create web page dynamically on the visualforce page. We have using jquery, to create dynamic page and drag and drop functionality.

For example, In business requirement, you need to assign the vehicle to the technician, you will use this. Take the list of vehicle images on the left side, unassigned technician list on the right side.

Result –

Before Assigned

After Assigned

Try the below code

<apex:page sidebar=”false”>

<html>

<head>

<link rel=”stylesheet” href=”https://code.jquery.com/ui/1.11.4/themes/swanky-purse/jquery-ui.css”/>

<script src=”//code.jquery.com/jquery-1.12.4.js”></script>

<script src=”//code.jquery.com/ui/1.12.1/jquery-ui.js”></script></head>

<body>

<form id=”frm”>

</form>

<script>

$(‘<div id=”leftdiv” style=”float:left;border: 5px solid #ccc;”></div>’).appendTo(‘#frm’);

$(‘<div id=”rightdiv” style=”float:right;border: 5px solid #ccc;margin-right:10px;width:500px;height:100px;”>Drop Here</div>’).appendTo(‘#frm’);

$(‘#leftdiv’).append(‘<img src=”https://c.ap2.content.force.com/servlet/servlet.FileDownload?ile=01528000004V7ht” width=”100px” height=”100px” id=”img1″>’);

$(‘#leftdiv’).append(‘<img src=”https://c.ap2.content.force.com/servlet/servlet.FileDownload?file=01528000004V7hj” width=”100px” height=”100px” id=”img2″>’);

$(‘#leftdiv’).append(‘<img src=”https://c.ap2.content.force.com/servlet/servlet.FileDownload?file=01528000004V7he” width=”100px” height=”100px” id=”img3″>’);

$(“#leftdiv img”).draggable({

});

$(“#rightside”).droppable({
drop:function(){
alert(“dropped”);
}

});

</script>

</body>

</html>

</apex:page>

We are the ISV Partners and Please reach us for custom development => www.merfantz.com

———————- We hope it will help you ————————–

Author Bio

Merfantz Editor
+ Recent Posts
  • August 4, 2023
    How to Setup CRM Analytics for Financial Services Cloud
  • August 2, 2023
    How to Get Started with Salesforce Hyperforce - Merfantz
  • July 28, 2023
    Health Cloud Mastery: Salesforce Trailhead for Effective Healthcare CRM
  • July 26, 2023
    How to integrate Data cloud and Marketing cloud In Salesforce
Tags: Field Service ManagementFieldax
  • Previous What is the Purpose of apex:actionsupport of AJAX Component in Salesforce
  • Next Recurring Invoices in Salesforce

Leave a Reply

You must be logged in to post a comment.

Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Terms and Conditions
Privacy Policy
Cancellation & Refund Policy

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

Salesforce API Integrations: Connect with Slack, Zoom, and Teams May 2, 2025
Guide to Streamlining Sales Success
Mastering Salesforce CPQ: A Comprehensive Guide to Streamlining Sales Success April 17, 2025
Unlocking Salesforce Data Cloud: Unify and Activate Customer Data April 4, 2025

Copyright @2023 Merfantz Technologies, All rights reserved