Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [html]

Hypertext Markup Language. It is used in Visualforce pages, components, lightning components, forms, templates, formula fields...

2
votes
0answers
32 views

querySelector not getting element in lightning web component

I am creating a popover, where I need to position it correctly based on the button's position that triggered it. It starts like this: <div id="popoverWrapper" class="popover-wrapper" style={...
0
votes
0answers
13 views

How to access multiple list on visual force page as like single table? [on hold]

My scenarios is , i have three list and this list is all different types. I want to access this three lists on Visual force page in salesforce as look like single table. Please give me solution of ...
-1
votes
1answer
32 views

Using HTML skills in development [on hold]

I have knowledge of HTML / CSS and some basics of JavaScript, where and how can I use this knowledge in developing on the Salesforce platform? I know VisualForce and Lightnin Web Components use HTML. ...
1
vote
2answers
28 views

Assign content to multiple slots in LWC: how to insert the same slot content to multiple template slots in LWC?

I want to build a custom configurable interface to pass two buttons to header and footer of a standard card element. So, I have a component card with card template <template> <lightning-...
0
votes
1answer
32 views

Recreating lightning-button with custom color

I am trying to replicate lightning-button in my Web Component because I need to use custom colors, and supposedly you can't override the lightning-button with css to change these colors... So here is ...
0
votes
1answer
28 views

Changing colors of lightning-button

How can I change the colors of lightning-button? I tried doing this in my css: .my-button { background-color: #14a6bc; color: #ffffff; } and applying that class to my <lightning-button&...
0
votes
1answer
31 views

Finding icon-names for Web Component lightning cards

In an example of creating a lightning web component, the html used a lightning-card tag. Within that tag, it declared a title and icon-name, where the icon pointed to custom:custom19 <template> ...
0
votes
0answers
27 views

{!ApprovalRequest.Internal_URL} in a Visualforce Email that is using a different related to object?

I'm creating an email template for an approval request and it is related to our quote object. When I try to use {!ApprovalRequest.Internal_URL} to get the URL to link out to the quote, it doesn't ...
1
vote
0answers
37 views

Dynamically accessing iteration item properties in a Template iteration on lightning web component?

I would enjoy using the easy to set up lightning-datatable, but it just lacks any ability to really customize it. It would work, but I need text-wrapping in cells instead of truncation. And it lets ...
1
vote
2answers
44 views

content builder editing AMPscript

I'm trying to use AMPscript in Content Builder and am getting a lot of HTML being added to the code. For example : %%[ var @a,@b,@c set @a = 1 ]%% Generates an error because a <br /> is added ...
1
vote
1answer
102 views

Using unescape HTML in lightning web component

I am currently having an issue to show the content fetched from salesforce database to UI. The data is stored in HTML form and I want it to show on UI using LWC without escaping HTML. Previously we ...
1
vote
3answers
91 views

Command button value with special characters

I have command button. I want display the button value as below : View the "Requested Items" Chart So i have tried. <apex:commandButton style="background:#d0a416; font-weight: bold;float: right; ...
0
votes
0answers
17 views

Marketing Cloud Fuel SDK API : get Email Text/HTML

I am working on Salesforce Marketing Cloud API to extract Email Text/HTML. I am using ET_Client.ET_Email() function of Fuel SDK python to get data. Below is code snippet myClient = ET_Client....
0
votes
0answers
19 views

Compnay Logo on User Email Signature

We want to inlcude user email signature along with company logo for our outgoing emails from SF I did tested it by adding under email settings and img src which I created a record in Documents and ...
0
votes
0answers
21 views

Repeat HTML Table in Render as PDF VF Page

In my PDF Visualforce page, below table breaks and goes to new page. Is there any way that I can repeat the header of the table if it breaks to new page at the beginning? Visualforce HTML Table <...
0
votes
1answer
30 views

How to access a dynamically generated html class name from a JS controller?

I was trying to concat a class name with index from the iteration component. If it's correct, how can I access this value from the JS controller? Component: <lightning:overlayLibrary aura:id="...
1
vote
0answers
22 views

Entire page appearing twice in the DOM in LEX?

So the two snippets in this screenshot are the same page loaded in Lightning. This is the "main div" as I can see it that holds the main contents of the page. I promise it is the same page, a standard ...
1
vote
0answers
28 views

Web to Case SuppliedName not populating

My Web to Case form is populating all data on the Case other than the Web Name (SuppliedName). Is there a way to populate the name? I assume everything should be the same formatting wise as the ...
0
votes
1answer
30 views

Web-to-case email not creating case

I have followed this outline to create a web to case http://www.crmsalesforcetraining.com/creating-web-to-case-forms-in-salesforce/ and when I go to my cases, nothing has been created. The only ...
0
votes
1answer
37 views

How to send date from web to lead to datefield salesforce

I try to pass a date from a web2lead form to a date field, but the field stays empty. Travel date in: <span class="dateInput dateOnlyInput"> <input id="00N1t00000K2yXV" name="...
1
vote
0answers
26 views

Could an AMPscript content block be affecting the format of the email in Gmail?

I have an email that uses a standard responsive Marketing Cloud template, which has an image block at the top, html content block in the middle (which is all AMPscript), followed by a social follow ...
0
votes
1answer
16 views

recordtypeid web2lead form not saving correct

I have the following web2lead form where I add a recordtype. On submit it still generates a default lead recordtype. Am I missing something? <META HTTP-EQUIV="Content-type" CONTENT="text/html; ...
1
vote
1answer
27 views

HTML Editor Action Button

I am looking to create a form within HTML Editor with a submit button. From what I am reading, no functionality is available within HTML Editor. Can anyone confirm that this is correct? UPDATES:...
0
votes
1answer
50 views

Increase size of Lightning Component to fit properly on a record page

The component I created on the right appears smaller than the activity card. I've tried several ways to increase it's size but have failed. Is there a way to make it look like the card below it? ...
0
votes
1answer
47 views

VF page with dynamically generated HTML code?

I have a custom VF page which is added to a section in the page layout of an object. What I'd like to achieve is to add dynamically generated HTML code to my custom VF page. The HTML is dynamically ...
1
vote
0answers
45 views

Adjsting the height of component dynamically

I have two child component A and B inside a parent component stacked one after other.Component A is supposed to be static and does not contains scroll bar.How ever its height changes depends on ...
0
votes
2answers
54 views

How to make a dynamic picklist field as required in vf?

I am creating a popup which shows some product details along with dynamic contact list.how to make this dynamic picklist as required or through an error when if its not selected or the value is "--...
1
vote
2answers
43 views

HTML Email Template : Looks Okay In The Editor, But Loses All Styling When Sent

I'm trying to create an email template in HTML. I originally did all the styling as an internal style - But later found out that styling must be done as inline css. My creation looks fine in the ...
0
votes
1answer
24 views

HTML link attachments and a bash script to download them all

As the title implies. I'm looking for a bash script that will iterate over html files in a folder and download the files to the same folder. I'm hoping someone in here has run into this before and hs ...
2
votes
1answer
38 views

Webpage mail different from received mail in mailbox with %%view_email_url%%

I've built some AMPscript code that selects two different contentblocks to be displayed next to each other in the same block. The code retrieves all the blocks that have the content_type "themablok". ...
1
vote
1answer
364 views

Add spinner text along with spinner in lightning component

I am trying to add spinner text like 'Please wait while loading' along with dotted spinner. But the text is not displaying . It is displaying just a spinner. Can you identify what i am missing ? <...
0
votes
1answer
52 views

Unable to add data to Data Extension via form in Salesforce Marketing Cloud

I created an HTML form and sent an email with that form. When the recipient fills the form and submits it, then the data should be added to the targeted Data Extension. Here is my code: <html ...
0
votes
1answer
21 views

Show email addresses as hyperlink except the comma

Email Address : bob.marley@abc.com , sia@cheapthrills.com Currently we are displaying as plain text. Requirement : To display each address as clickable hyperlink . Current code: <tr> <...
0
votes
1answer
23 views

Auto span tag inside td

I have problem with automatically added span tag in the td element. My code in visualforce page is following: <table class="table table-hover table-bordered"> <thead class="headerRow"> ...
0
votes
1answer
63 views

html-placeholder in apex:selectList: is it real? Or is there an alternative?

I use html-placeholder in apex:selectList with a few selectOptions, but it's not displayed. What can I use to fix it? <apex:selectList html-placeholder="Text here" size="1"> <apex:...
0
votes
1answer
26 views

How to send an arrayList from Apex to Javascript and then to HTML?

I'm new in JS and can't understand, what is wrong here (this is my test value, but then I want to send an arraylist's elements): Apex: public String test{get;set;} public String myApexMethod(){ ...
0
votes
1answer
142 views

How to get multi-select picklist values to display on line indents on visualforce page?

So I have a multi-select picklist with 4 possible values on it. I would like to have them displayed on the custom visual force page I am making on line indents (li) rather than seperated with a ...
0
votes
3answers
52 views

Keep currency symbol and amount on same line in VF

I have create a VF page for (PDF) quote generation however i'm struggling keeping the currency symbol and amount together. Looking at my code ... {!$Label.Quote_PDF_AgreesOnPlanned_Act} <b&...
6
votes
2answers
81 views

How can I force Visualforce to include empty attributes which I have specified?

During my adventures trying to get a <select required="required"> to actually be required, I discovered: If a select element has a required attribute specified, does not have a multiple ...
1
vote
1answer
257 views

Custom font in Email content blocks

Has anyone figured out a way to use custom fonts in Marketing Cloud emails, where the font is specified only with Free Form content block level? There is a hacky solution provided for full HTML ...
2
votes
1answer
56 views

HTML en dash Code Not Rendering in Subject Line

I have a subject line with the en dash HTML code: &ndash; It is not rendering as the actual en dash symbol when the email is sent. The subject line is being pulled from a look up table/DE and in ...
1
vote
1answer
31 views

How to put css swatch inside lightning select

I have a lightning select dropdown which iterates over a list of objects containing colour details, specifically the colour label and it's HEX value. I want to be able to display the hex value as a ...
0
votes
1answer
16 views

I'm making a checklist and I would like this data to be updated/inserted using an iframe or any alternative method Ask Question

So This here is my check list and above it is where my Iframe should display. From my understanding it is not being displayed because of "Clickjacking" protection. Is there any way I can display my ...
3
votes
1answer
495 views

How can I access the html text in static resource file in lightning client-side controller?

How can I access the html text in static resource file in lightning client-side controller? I know how to upload .html file to static resources and how to acquire it using <ltng:require>, but I ...
0
votes
0answers
34 views

How do I set the Default Size & Layout of a MultiPicklist on my VisualForce Page?

I'm wondering how I go about changing the style of my Multi-Picklist? I would Like it expanded by default without the scroll bars. So its showing all the options. This is how it looks when I open the ...
0
votes
1answer
123 views

Unordered List with no bullets not working with email template

I have a Visualforce Component that has a un-ordered list. I want that list to have no style other then the indentation. Usually with HTML you would just specify the ul css to be list-style:none or ...
0
votes
0answers
12 views

Is it possible to use URLFOR in HTML template for e-mails? [duplicate]

I have an HTML template for e-mails and would like to add an image(logo) in the template in way to display the logo in every change of the environment - sandbox to production. Is there way to use ...
1
vote
1answer
93 views

Type of html emails in the system regarding API

We are creating HTML Emails and I want to get the content of them by SSJS but the problem is their type is not "Email" or "ContentBlock", it is like in the middle of those. I can retrieve their IDs, ...
0
votes
1answer
35 views

Can I associate Multiple campaigns to a web to Lead form?

I have a single web to lead form, based on the lead's picklist value input i would like to associate that particular lead to a campaign is this possible ?
0
votes
1answer
18 views

convert string into format of table

I have a string with JSON notation in VF page and I want to iterate over it and create a table. I am trying to display in table but has not got anywhere. I am looking for some suggestion to achieve ...