12.07.2015 Views

Sugar Community Edition Installation and ... - SugarForge

Sugar Community Edition Installation and ... - SugarForge

Sugar Community Edition Installation and ... - SugarForge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Developer ToolsThe Preview page provides a Restore button that you can use to restore the layout.Alternatively, click a timestamp to restore the layout that existed before thechanges made at that time.Embedding Links <strong>and</strong> IFrames in a LayoutA Link field allows you to store a URL in a record such as a customer's Website or alink to a related internal or external system. The URL can either be entered as anormal field in an edit view, or it can be dynamically generated based on other fieldsin the record.For example, you could automatically generate a link to a google map of an accountsaddress. To do this, click the Generate URL check box <strong>and</strong> insert the following in theDefault Value field:http://maps.google.com/?q=Next, select billing_address_postalcode from the drop down above the Default Valuefield <strong>and</strong> click the Insert Field button.The default value now reads:http://maps.google.com/?q={billing_address_postalcode}You can also embed a view of the Website itself in the layout rather than as a link byusing the IFrame field. IFrames support regular URLs as well as generated URLs.You cannot edit generated URLs in a record’s Edit View. You can only change themin the Module Builder or Studio. You can edit regular URLs in a record’s Edit view.To embed a manually entered URL1. From the Data Type drop-down list, select IFrame or Link.2. Enter a name for the field.3. Enter the desired max size.4. If using an IFrame, enter the desired height in pixels for the view.5. Click Save to create the field.To embed a dynamically generated URL1. From the Data Type drop-down list, select IFrame or Link.2. Enter a name for the field3. Click the Generate URL checkbox.4. Insert the base URL into the Default Value field.5. Select a field you wish to include in the URL from the dropdown <strong>and</strong> click InsertField.6. Click Save to create the field.<strong>Sugar</strong> <strong>Community</strong> <strong>Edition</strong> <strong>Installation</strong> <strong>and</strong> Administration Guide83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!