Hypertext Markup Language

learn more… | top users | synonyms

0
votes
1answer
7 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
18 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
24 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
votes
0answers
18 views

Visualforce: Converting JSON datetime to dd/mm/yyyy

I am getting date and time From JSON i am simply displaying the in the table like below format, Date and Time :- Sat Apr 16 00:52:37 GMT 2016 i don't want above format to display in the table i need ...
1
vote
1answer
42 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
27 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
24 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
36 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
43 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
19 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
24 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
15 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
27 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
39 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
49 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
2answers
26 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
44 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
22 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
31 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
50 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
35 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
38 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
31 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
28 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
119 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
36 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
73 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
31 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
35 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
42 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
37 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
24 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
35 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
112 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
59 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
59 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
123 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
40 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 ...
0
votes
0answers
64 views

Getting “PDF generation failed. Check the page markup is valid.” Error from tables?

I'm working on what should be a relatively simple PDF Quote page using visualforce. For some reason I have run into an issue where no matter what I try I keep getting an error that the PDF Generation ...
1
vote
1answer
22 views

Single apex message coming in red but not multiple apex messages [duplicate]

Couple of days back , I had a problem like i have a page message and I want the text to be in red color. after applying some css it worked out well.But if i am showing more than one error ,then only ...
1
vote
1answer
48 views

twilio smsToLead HTML element error

I'm trying to follow the blog for SmsToLead here and I'm getting an error I don't understand Error msg: Cvc-elt.1: Cannot find the declaration of element 'html'. This is my Visual Force code: ...
1
vote
1answer
36 views

Is it possible to line up PanelGrid with PageBlockTable or hard code a pageblocktable

So I have a data entry grid that is a pageBlockTable. I'd like to put instructions below the grid. What control can I use to make the grids line up? This is the data entry section ...
2
votes
1answer
83 views

“PDF generation failed. Check the page markup is valid.” caused by a single table?

I am generating a quote page to show information regarding the client and have run into an issue where the table I use for formatting the information's location is somehow causing the PDF to fail ...
0
votes
0answers
33 views

OutputPanel Rendered Attribute not working as expected

I've got a Quote Calculator in the works for my company and I'm trying to have it push the quote out as a PDF. Where I am running into the issue is with the PDF page. Both pages use the same output ...