Hypertext Markup Language

learn more… | top users | synonyms

0
votes
1answer
22 views

How to extract data within a data of a data extension field and lay it out on HTML email

For instance, I have a Data Extension with fields: email and content. Content field contains 5 different sub-data separated with pipe. | email | content | |...
1
vote
1answer
24 views

Generate Barcode dynamically in Email Body/Attachment

I need to send emails to multiple contacts with a bar code based on Customer ID in a pdf attachment. The requirement was to add the bar code in the attachment but due to salesforce limitation of ...
4
votes
1answer
32 views

Set Default emailBody to apex:emailpublisher in HTML Format

I've tried to set default value to emailBody attribute of the apex:emailpublisher component with an HTML value along with setting emailbodyformat to "HTML", but when I opened the console it renders ...
0
votes
1answer
30 views

Can a data extension hold special characters and embeded email html?

Im working a complex dynamic build and was thinking of using an ampscript look up array to pull the content from a data extension. The idea being that the content can be updated and uploaded via csv ...
1
vote
0answers
27 views

Converting DateTime GMT to Local Time

I have a Date/Time field that is used for Activities (events) that shows up in an HTML generated email when an Event is created. My issue is that the time shows in GMT timezone format instead of the ...
1
vote
2answers
36 views

How to build an HTML grid from the controller values using HTML controls in Visualforce

So I am using the SLDS and it uses all HTML5 syntax. I'm curious how to build a table/grid using a controller. I am trying using a static reference inside the control. I figured I'd create a ...
0
votes
1answer
42 views

Populate a SLDS picklist dynamically with SelectOptions

So I am looking to populate a picklist with values from a controller. Currently I can pass it to visualforce by passing a simple list. However, I suspect, with the SLDS it requires an iterator of ...
0
votes
0answers
20 views

HTML email shows slices in Gmail [on hold]

When i set up an html email in Exact Target, there is a small break showing between the image slices in Gmail. It only seems to happen in the gmail browser. Not on iPhone or apple mail. Any way to ...
0
votes
1answer
17 views

How can we divide lines in emails

I am going to send an email with with few records. I need to divide each record data for each record. I think some html tags can be help but i am not able use. Can any one help me? Here is my email ...
1
vote
1answer
55 views

Bind Data to Lightning Design System in a Visualforce Page

How can I bind data to controls built in the lightning design system within visualforce. It seems that it's more HTML/CSS based vs apex:control based. Changing my question to refine and make more ...
0
votes
1answer
19 views

How to make a form submit twice, to CRM system AND send a copy as an email

I was wondering if someone could help me with my code. I am using Saleforce (CRM SYSTEM) to track leads from our site. When people click 'submit' this sends the information and inputs it into ...
0
votes
1answer
76 views

The element type “div” must be terminated by the matching end-tag “</div>”

please help me in finding the missing div.I tried a lot tried also some online div checker but was not able to resolve the issue <apex:page controller="GiiCommunitiesTabPanel2Controller" ...
0
votes
2answers
47 views

AMPSCript HTML assign variable

Do you know If It is possible to assign a variable that has dynamic content on it?. Similar to: VAR @HTML SET @HTML BEGIN Hi, Miguel your email is: %%=TreatAsContent(@email)=%%. Thanks for using our ...
0
votes
0answers
52 views

Grab HTML from an email

I need to grab the rendered html and store it into a Data extension. I´m doing it right now like: SET @HTML = HTTPGet(view_email_url) UpsertDE("my_ig_de_logs", "JobID", @jid, "body_html", @HTML) ...
0
votes
0answers
40 views

Example connect or authenticate to salesforce from pure Javascript

I want to authenticate using only JavaScript in a HTML page. The objective is to do something similar to web to lead: an html file that could be used to create records in a custom object without using ...
1
vote
1answer
24 views

HTML elements issue in visualforce

I have the following html structure in my VF page (docType="html-5.0"): <a class="outer"> <span>Some text</span> <span><a class="innerLink"></a></span&...
0
votes
1answer
50 views

hide/display img tag on condition

I have below code - Var @test <a href="http://www.xxxxxx.com/videos" target="_blank"><img src="http://www.xxxxxxxx.com/sites/default/files/images/2015/12/121615-social-video.png" alt="...
3
votes
0answers
16 views

How to convert HTML to plaintext in a Flow?

I've set up a Flow that send emails with content of questions asked in Community (we take: FeedItem.body). Unfortunately email body can only be plain text. Since the questions are often posted in ...
1
vote
0answers
19 views

Retrieve Dashboard Running User in query

I built this visualforce page and controller that does a query for records with the current user and then displays the results on a visualforce chart. We went to production and the users said no we ...
0
votes
0answers
24 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
44 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
31 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
46 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 = 0,customobj....
1
vote
0answers
27 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
52 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 ...
1
vote
1answer
54 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
16 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 width=...
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
42 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
14 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
139 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 ...
-4
votes
1answer
43 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
165 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
56 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 id="frm"...
2
votes
1answer
71 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
26 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
36 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
26 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
42 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
73 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
102 views

How to Call REST Service from Javascript in Salesforce [on hold]

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
27 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
101 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" width="...
0
votes
1answer
37 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
134 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
34 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}" target="...
1
vote
2answers
86 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 id="...
1
vote
1answer
81 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
59 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 ...