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...

0
votes
1answer
33 views

Community Footer at Bottom of Page

I'm attempting to place a footer at the bottom of every page within our Community site, regardless of the content on each page, and I'm unable to do so successfully. I'm utilizing the custom CSS ...
0
votes
1answer
34 views

Wrapping text around image in Content Builder - Marketing Cloud

Can I wrap a text around an image in a free form or html content block in SFMC Content Builder? I would like to have white text (i.e. unsubscribe, preference center, some small general data on thje ...
-1
votes
1answer
44 views

Get List Size in JS controller using lightning web component [closed]

I need the size of a List, which was passed from the Apex controller to the JavaScript controller and built using Lightning web component. Below is the code I am trying: @wire(getObjectDetails) ...
1
vote
0answers
11 views

Unable to see data in HTML status report

I have a process where on insertion of a record in the custom table, an email is triggered to the customer. To achieve this we created a workflow and an HTML email template which triggers the email. ...
0
votes
1answer
33 views

Retrieve id of div from within a get()

In my lightning web component I am trying to loop through a an array they determines if an item in a combobox should be marked or not: HTML <ul class="slds-listbox slds-listbox_vertical" role="...
0
votes
1answer
51 views

How do we convert pdf in html format in visualforce page?

Following code takes me with pdf but i wanted to view this pdf as html because in my pdf some buttons are clickable and i wanted to capture that click event from pdf so it is not possible in pdf and ...
0
votes
0answers
30 views

Select Radio button in HTML table

I am trying to display each select radio button in a separate html table column. I want irrespective of the size of the screen, the radiobuttons always display perfectly under the emoticon. The end ...
0
votes
0answers
40 views

Open Snap-In chat window on click of button

I have a custom button on click of which I need to open Snap-In window in my website. But I'm not sure which function to call to open the Snap IN window. <button type="button" onclick="initESW('...
0
votes
1answer
32 views

How can I create a HTML email in Marketing Cloud using Content Builder?

From what I see online, after I click on Create > Email Message I should have an option called HTML Email in the dropdown box. However, I only see Template, Text Only, and Existing Email. How do I ...
1
vote
1answer
21 views

How do I use custom properties that include a colon (like <div :data=“data”>) in Visualforce?

Many Vue libraries include components that use colons to signify properties, like Buefy's table syntax: <div v-cloak="true" v-if="MyJSONData != null"> <b-table :data="data" ...
0
votes
0answers
17 views

Image is not displaying after knowledge article migration from one org to another

I am trying to migrate knowledge articles to another org. My articles store content as HTML in Rich Text Area using source link: src="https://<MyOrg1>.content.force.com/servlet/rtaImage..." ...
1
vote
0answers
15 views

Salesforce Visualforce Email not tracking even with HTML body

I have a custom button in an opportunity that sends an visualforce email with an attached quote to the client. I have everything working, ie the email is sent, the quote pdf is saved to the account, ...
1
vote
2answers
49 views

Removing unwanted break after a Content block in HTML

I've created a dynamic content block for the Customer's Salutation (based on Gender, Language, not null, etc) in MC that I want to include at the start of the opening sentence of an email, followed by ...
1
vote
1answer
18 views

Open Html file from Heroku Bash

I have deployed my Flask python application on Heroku. The problem is that in one line of my python code I must open an HTML file (where some javascript gets executed). Obviously, it locally works in ...
0
votes
0answers
16 views

How to auto scan Barcode in SF1 app without clicking image [duplicate]

We have a requirement to decode Barcode of Product in salesforce1 camera and store the decoded barcode value in a custom field on Product. where I want to auto scan Barcode from SF1 App camera ...
1
vote
1answer
16 views

HTML error in VisualForce email templates

I created an email template in HTML and want to use this for a visual force email template. When inserting the HTML my code gives many syntax errors. When using the same HTML in a regular HTML ...
1
vote
1answer
32 views

Send more coupons - ClaimRowValue(?)

I would like to send an email with 3 different coupon codes inside. I already have an if statement in the amp script that takes them based on the language code, but as it is the voucher code is ...
0
votes
0answers
24 views

HTML Email Status won't get created if setWhatId() for Messaging.SingleEmailMessage is specified

In my org I've set up an automatic process that sends email messages with the Custom template (with the HTML) to the contact. It has triggered similar code: OrgWideEmailAddress addr = [select Id from ...
2
votes
1answer
167 views

How to create select option in LWC?

I am creating a select option in LWC. From server side controller I am returning list of wrapper having key and value as below- [{"key":"All Accounts","value":"00B7F000006l0B3UAI"}] I the html ...
0
votes
1answer
116 views

How to modify inner html value in lightning component?

I want to set inner html value dynamically from custom label . <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-1"> Lightning controller : var hideElement = ...
0
votes
0answers
19 views

How to set value on div in lightning component?

In visualforce page dynamically i am setting up a value for a div <div class="slds-modal__content slds-p-around_medium" id="modal-content-id-2"> </div> script : $("[id$='modal-content-...
3
votes
0answers
215 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={...
-1
votes
1answer
35 views

Using HTML skills in development [closed]

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. ...
2
votes
2answers
151 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
161 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
335 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
88 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
45 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
70 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
58 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
2answers
375 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
2answers
100 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
24 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
23 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
1answer
128 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
35 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
24 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
39 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
35 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
48 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="...
2
votes
1answer
39 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
20 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
102 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
92 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
121 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
59 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
54 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
26 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
44 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". ...