Hypertext Markup Language

learn more… | top users | synonyms

0
votes
0answers
22 views

Customizing Community with html header

I am customizing community (VF + tabs) and whenever I add html header in the community, default user options on right hand side are not longer available. Is there a way to use html header with all ...
3
votes
1answer
24 views

Hide HTML table rows if outputField is null or 0

I am creating a confirmation email to be sent when a new Orders__c is created via an external form. These are not related objects so an <apex:repeat> solution is not viable. There are 50+ fields ...
0
votes
1answer
30 views

how to select this div class defined deep inside <tr>?

Hello I am working on a long project and in that i have to access a div class defined inside a table <table> <tr> <td> <apex:repeat> ...
0
votes
0answers
32 views

'If' condition not working in html email templates

I have 2 fields which need to populate with their values in html email approval requests. Below is the code in html template: Some Percentage: {!IF(customobj.CAN_Percentage__c = ...
1
vote
0answers
18 views

XML and XSL using transformXML(xml, xsl)

Im trying to make html content for an triggered sent email. The client can only delivery the xml in one format, and I cant get my XSL to work, when the xml have prefixes. The Salesforce documentation ...
0
votes
0answers
22 views

How to preserve the state of accordion data-toggle on postback?

I have a Twitter Bootstrap accordion data-toggle binded to a list, in my visualforce page. On page load, the list will be in collapsed state by default. When the user expands it and performs any ...
0
votes
1answer
37 views

Tablesorter.js doesn't sort table as expected

I have implemented table sorting with the help of jquery tablesorter. Everything works fine, except that one of the row in one the column is not sorting properly. I tried all options mentioned in the ...
0
votes
1answer
9 views

Last trailing blank PDF page gets added, need to remove

I have below last element and trying to remove the trailing blank pdf page added. It is not working. Can someone please let me know how to deal with it? Apex Page Last element .....<td ...
1
vote
0answers
19 views

Using email templates where targetobjectid is user

Objects: Obj1 and Obj2. Obj2 is child of Obj1. Obj1 has a lookup to user object(User__c). I have a batch class wherein i am trying to schedule emails. I want to use an HTML email template. The ...
2
votes
1answer
28 views

Way to use relative URL vs hard coding document ID?

How can you use a relative URL for an image file inside documents vs hard coding the document ID in HTML? I have an org to spin off templates that use images with the src linked to the document ID, ...
0
votes
0answers
12 views

Send data to api and have it display over multiple lines within a textarea field

I need to send some data to the bulk api, in csv format, and have the values for a field displayed on separate lines within the Salesforce UI. Is there a way to disable HTML escaping for individual ...
1
vote
1answer
67 views

How to make <apex:inputText> field conditionally read-only without Javascript

I would like an input to be conditionally read-only, but I cannot find a way to make a boolean HTML attribute like html-readonly conditional within VisualForce. I am avoiding Javascript to remove the ...
-3
votes
1answer
29 views

After posting JSON to external System, I need to return back to salesforce /apex/response page which is not working

<apex:page standardController="Rfleet_Car_Set__c" showHeader="true" extensions="csbreceiver" action="{!test}"> <html> <object style="height : 1200px;width : 1300px;overflow:hidden;"> ...
1
vote
1answer
51 views

<tr> and <td> tags within <apex:repeat> rendering above the table?

I am making a table that has within it to fill it with rows and fill the cells with information. I cannot use a pageBlockTable as I am using many sets of information that all need to go into the ...
0
votes
1answer
42 views

To post JSON to External System via Visualforce Page usin HTML Form

enter code here <apex:page standardController="fleet_Car_Set__c" showHeader="true"> <html> <object style="height : 1200px;width : 1300px;overflow:hidden;"> <form ...
2
votes
1answer
53 views

What is the corresponding tag for html datalist in Lightning .?

We can use dataList tag in html.While using datalist,it is suggested that the user select one of the options you've given, but he can actually enter anything he wants in the input.Is there any tag ...
2
votes
1answer
20 views

Long Community password reset URL is overflowing table in Outlook 2013 html email

I am not finding a solution to get a long URL to wrap inside of a <table> <td> The URL wraps in other email clients I have test but not in Outlook 2013 Here is a small screen grab from ...
0
votes
1answer
28 views

ReRender everything except target within <Apex:Repeat>?

I'm currently building a web app to support our sales team and I'm running into a design/functionality issue. When the visualforce page is brought up it gives a list of products or services we offer, ...
1
vote
0answers
18 views

What values are allowed in the HTML Editor?

In creating a Knowledge Article, I was adding an img to it. I decided to flip over to the source view and add in a style="border: 1px solid black;" for a border and, after saving, the value of style ...
0
votes
0answers
29 views

Salesforce: How to get fields of two objects “Account” and “Contact” on visualforce page using Backbone.js?

I am successfull to get "Contact" sobject fields on visualforce page using backbone.js. I want to show both account and contact fields at same time and same page. To do this, should i use two models ...
0
votes
1answer
48 views

Show an Iframe and display a page within it, in a VF Page

I have an iframe. <iframe height="600px" id="theIframe" name="theIframe" src="" width="100%"></iframe> <a href="somelink" target="theIframe" style="white-space:normal;color: ...
0
votes
0answers
70 views

How to Call REST Service from Javascript in Salesforce

I have REST Service to create a Case in Salesforce: @RestResource(urlMapping='/Case/*') global with sharing class CaseCreater { @HttpGet global static Case getCaseById() { RestRequest req = ...
0
votes
0answers
13 views

Email Newsletter version Rich Browser Page

Some newsletters when opened in a browser offer much richer experience compare to the email version. Are these two different files (microsites)? Are there any conditional statements put into HTML ...
0
votes
0answers
26 views

Send an email button: text positioned along the left page border

When I press "send an email" button, in the single HTML email sent (no template or html editing here, just formatting controls), the text is positioned along the left page border at the very edge with ...
2
votes
3answers
50 views

Incorporating image in Email Template

I have an visualforce email template. I want to add an image to the template i.e. the image will be visible in email sent to an user <apex:image id="Logo" value="https://......" height="64" ...
0
votes
1answer
34 views

Function Add with one variable

I have a problem with my AMPscript. I would like to use the function AMPscript Add to add differents price from different products that are also connected with the count AMPscript function e.g. %%[ ...
0
votes
0answers
57 views

How to get <apex:column> component to play nicely with Bootstrap?

I've set up a VisualForce page with 7 columns. I've added a pageBlock, a pageBlock table, and 3 apex:columns into the bootstrap columns. The pageBlock and pageBlock table refresh fine, however the ...
1
vote
0answers
25 views

open a page in an iframe

i am trying to incorporate the following html with apex code <a href="{!LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260))}{!myAttachment.ContentId}" ...
1
vote
2answers
42 views

Render command button based on boolean if condition

I want my command button to be visible if a boolean variable "ReviewedByHCP" is set to false, and hidden if it's set to true. Here's what I have: <apex:form> <apex:commandbutton ...
1
vote
1answer
65 views

Lightning force:inputField doesn't render correctly in table

I'm trying to use force:inputField component for lookup fields in a lightning component. But event though lookup field shows up correct, it does not render correct in an html table. My html component ...
1
vote
1answer
41 views

How do I process an HTML array with AMPscript during POST and save each value?

How can I use an HTML array with AMPscript and save each array item in it's own data extension field? For example, when using a group of checkboxes. The following snippet is slightly dumbed down—but ...
1
vote
1answer
44 views

jQuery UI slider doesn't work inside PageBlock

I've got the following code: <apex:pageBlock title="Parameters" mode="edit" id="criteria"> <apex:includeScript value="{!URLFOR($Resource.jQuery, ...
1
vote
0answers
20 views

Problem in viewing html file

We are trying to show the html file in an iframe. Lets say the file Name is "Resume HTML" and content Type of is "htm". It was working fine, but for the past 2 weeks, it downloading the file instead ...
0
votes
1answer
44 views

How set table width dynamically based on list count

I am generating pdf and word documents. In that displaying the tables using html tags. columns will be different for each records. I want to set width of the column based list count. If list have 3 ...
0
votes
2answers
32 views

Multi line CommandButton in Visualforce

How would you format the following such that the button displayed on two lines? <apex:commandButton value="First line \n Second line">
3
votes
2answers
123 views

How do I load Bing Maps in Visualforce?

Using the following code on a Visualforce page does not load the map: <apex:page doctype="xhtml-1.0-transitional" showHeader="true" sidebar="true"> <html> <head> ...
2
votes
1answer
52 views

Used html button instead of apex command button,controller action not updating new values?why

Used html button instead of apex command button, but only old values are passing to contrller action method why? Its working fine for commandbutton!! <apex:actionFunction ...
0
votes
1answer
81 views

PlaceHolder for Apex:inputTextArea

Pass through attribute to display Ghost text is not working for Apex:inputTextArea. I mentioned docuType as 'Html-5.0' in apex page correctly. Example : <apex:inputTextarea value="{!test}" ...
1
vote
1answer
33 views

HTML Email Template Merge field values not coming in email

I have below code where I have to alter merge field values with record data in a trigger. Apex Trigger trigger ABV_SendEmailToOwner on Form_Requests_abv__c (after update) { Form_Requests_abv__c ...
1
vote
0answers
50 views

How To Pass Value from InputTextArea To InputField

Scenario : I am doing with VFP. VFP has custom multiple record selection lookup. So When I Check records in multiple record selection lookup one inputtextarea element is capturing those records as ...
0
votes
1answer
50 views

Apex Repeat issue with Render as PDF page

I have below Page where same data repeats in multiple Pages of same PDF. But though in first page all data placed fine it's alignments changes in latter pages. Can someone please let me know the ...
1
vote
1answer
39 views

Remove leading blank page in Apex PDF page

I am getting a leading blank page in below PDF. Can someone let me know how to remove that? Apex page <apex:page renderAs="pdf" standardStylesheets="false" doctype="html-4.01-strict" ...
0
votes
1answer
27 views

How to display Apex:pageMessages for Mobile Page

I am writing a small page for mobile.But I am not sure how to display pageMessages in Mobile. Original VF page is like this : <apex:page standardController="gii__SalesOrder__c" ...
0
votes
1answer
29 views

Remove the Extra Space between Labels

Here is my VF Code: <span style="padding:10px;"> <label>{!wrapper.used}</label> / <apex:outputLabel value="{!wrapper.total}"/> USED ...
0
votes
1answer
44 views

font color not working for Apex renderas PDF page

I have below code where I need a rectangular box with text in white inside it. Box shows fine but text fails to read color #FFFFFF. Can someone please help? <div id="rectangle" ...
0
votes
2answers
138 views

Alternative to renderas PDF for converting an HTML to PDF in apex

Is there any alternative or work around to HTML to PDF convert in apex? Please help and provide your suggestions.
0
votes
1answer
76 views

HTML Page renderas PDF misplaces alignments

I have an apex page where I am using HTML tags mandatorily. Here , I need to convert it to PDF. Using renderAs PDF is misplacing the alignments and messed up in Apex page. Please find my Apex Page ...
0
votes
1answer
70 views

How to get current selected tab index after page reload, i am using Spry.Widget.TabbedPanels?

I have two tabs here, <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" id="tFirst">Basic Information</li> <li class="TabbedPanelsTab" ...
1
vote
1answer
166 views

Render HTML Content from rich text field to page

I store raw HTML code in a rich text field in the backend. I query it out in the controller and try to render it as HTML in a VF page. It displays the whole HTML code, it dosent render itself as HTML. ...
3
votes
2answers
51 views

How can I escape a double quotation mark in VisualForce context?

I am trying to process a string before displaying it in a visualforce page. What I need to do is remove any quotation marks in the text field before I use it to assemble a link path. The following ...