There was a recent requirement in which we had to create a Custom Button which opened a Visualforce page in a dialog box. The visualforce page then rendered and rerendered components and other functionalities were attained with the the help of visualforce page. Which also made callouts and created a shipment record. ![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTO8pj8KaRJ7tBoL5zOWKf7TpA759DZrZr8C7uwUllOqoW5vmJvYtbV2YthxAMu0jhhYvog-Pu2rnNiFWFwqwR99K7vM6z5NzC7GiS2BkQMSqFfWQismhlFP1foKvI3XJ9pG8slrxYtp8/s640/DEtail+Page+Layout.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTO8pj8KaRJ7tBoL5zOWKf7TpA759DZrZr8C7uwUllOqoW5vmJvYtbV2YthxAMu0jhhYvog-Pu2rnNiFWFwqwR99K7vM6z5NzC7GiS2BkQMSqFfWQismhlFP1foKvI3XJ9pG8slrxYtp8/s640/DEtail+Page+Layout.png)