Questions tagged [html]

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

Filter by
Sorted by
Tagged with
-1 votes
0 answers
10 views

ComboxBox Values Float Issue

I have a LWC Component in which I have used a combobox which is working fine but when i called the component through a button in aura component then the picklist values are floating in the air instead ...
Nitin Agrahari's user avatar
0 votes
0 answers
17 views

Facing challenges while editing table content in richtext box and formatting tr td and table tags

i am havig a requirement where in reports needs to be generated with a data in structured format, i have used and tags to create a table with hidden borders, here the issue is that i was not able ...
Lone Warriour's user avatar
0 votes
1 answer
51 views

LWC: Table Body Colspan Not Matching Table Header Span When The Table Body is in a Child Component

I'm working on an LWC to render a report in a Lightning Page & have come across an issue in my HTML that when I have a Table Header in the parent component and table body in the child component. ...
RedQueries's user avatar
0 votes
1 answer
41 views

How do I set the height of a div programmatically in the LWC's HTML file?

I have an outer div which wraps an inner div with a dynamic amount of content in it. For reasons that are beyond the scope of this question, I want to set the height of the outer div to match the ...
imfromthepast's user avatar
-1 votes
0 answers
52 views

Transform a visualforce page to a screen flow

i have a visualforce page that i want to recreate on a screen flow. i want to add a link to a static resource to dowload it this is how i do it with visualforce : <a href="{!URLFOR($Resource....
Amir Bouzid's user avatar
0 votes
0 answers
42 views

div not working as block element in renderAs Pdf in VF page?

I am generating a pdf using renderAs pdf in VF page. In the page the <div> is not working as it should(block) , It is overlapping with its parent div .Here is the pdf: Here is the VF page code: ...
Sahil Gupta's user avatar
0 votes
0 answers
22 views

Pardot Form Hidden Field to Pull in Value from another Form field

I have created a Pardot form (not a form handler). The form contains 2 fields called "Phone" and "Latest Phone number filled in". The "Latest Phone number filled in" ...
user120752's user avatar
-1 votes
0 answers
40 views

Meet our team CSS/HTML in Community page

Do you know how to add a meet our team to the salesforce community page? I tried it, but there are a lot of tag restrictions on the html component. Adding like this on the picture. I added the css/...
Daryl Sandoval's user avatar
1 vote
0 answers
56 views

How to inherit css from parent within the child using light dom?

I have a child component that is used to recursively iterate through a tree. The parent component has css that is using the shadow dom and the child component is set to use the light dom. While ...
usernameabc's user avatar
0 votes
2 answers
87 views

How to position third button on the same line at the far right

I have 2 buttons that are at the far left, beside each other. I need the third button to be positioned at the far right, but not using margin-left. I need a different way to do that using slds. I'...
Lisa Johnson's user avatar
0 votes
0 answers
33 views

LWC Component when deployed to source not showing on the preview browser

well i'm new in lwc but whenever i deploy a componant in lwc it get success in status but in preview its not showing proper outpur /rendring output.    <lightning-button label="Edit&...
LWC Member1's user avatar
1 vote
2 answers
141 views

How to style child component from parent component css?

I have two components that have a parent and child relationship. I am trying to apply css from the parent component's css file to the child component without having to write it in multiple places. ...
usernameabc's user avatar
-1 votes
1 answer
52 views

Adding if conditional logic in Salesforce Lightning HTML email templates

need to add the case description in the lightning email template if the case origin is "Website". As it's currently not possible to use conditional statemements in email template in ...
user3620804's user avatar
0 votes
1 answer
68 views

How can I remove onmouseover Event onclick of a button LWC

<div class="slds-col slds-size_8-of-12 messagecontainer" onmouseover= {handleMouseOver} onmouseleave={handleMouseLeave}> What I want is when I click a certain button I want to nullify ...
SFDC_learner's user avatar
1 vote
1 answer
70 views

How to recursively iterate through multi nested arrays in the lwc's html file?

I have the following data and nested a way to recursively call the same logic so that regardless of how many levels are in the data, the data is always printed correctly in a nested format. Example ...
usernameabc's user avatar
0 votes
0 answers
22 views

Using a result from SSJS array to populate dropdown HTML list [duplicate]

I'm building a CloudPage which involves the user selecting a Data Extension from a list, and I'd like to populate the dropdown list with a list of data extensions from a specific folder. I've managed ...
TCassa's user avatar
  • 866
0 votes
0 answers
38 views

HTML/CSS style column

I need some help with my HTML email template. I am trying to copy this format: However, this is what the result I am getting: This is a PDF attachment and here's my code block for this section: <...
Fatima Querimit's user avatar
0 votes
0 answers
42 views

Email Template Content Block Area - Overwrite CSS

I am working on revamping email templates in Marketing Cloud for non-technical marketers to use. I am running into an issue/haven't found a solution for overwriting CSS in content areas that a user ...
Tazzy1234's user avatar
0 votes
0 answers
88 views

PDF from URL is not opening in Modal POP UP in LWC

I have requirement when I click on button it opens the POP up and in that PDF get loaded from URL within that pop up and on close button pop up get closed. So below is my code it is working fine on ...
MANISH JADHAV's user avatar
0 votes
1 answer
319 views

Override the style (color)of Lightning-button-icon on bare variant in LWC

Good evening, As the title say i'm trying to override the the icon style (color) of Lightning-button-icon on bare variant in LWC, as per the documentation of salesforce there is no guidelines on the ...
joao couto's user avatar
0 votes
0 answers
25 views

Hi, I created a lwc component to preview and download the pdf [duplicate]

I am creating a lightning web component to preview and download a pdf file it is working fine in lightning record page but when I am using same component on experience builder site page that preview ...
Hritik Thakur's user avatar
0 votes
1 answer
145 views

Hide <td> in visualforce page if td is empty

I have my visualforce page so close but I'm having an issue with what happens when specific td cells are left unrendered. It doesn't show the information but it leaves a big space where the ...
Ahowell's user avatar
  • 15
0 votes
0 answers
51 views

BR() Function Not working in SFDC Flow

I have a flow that uses the BR() function in a text resource. However, it displays the actual <br> text when updating a record. I've tried both using a Rich Text Field and a Long Text Area field,...
David Bulmer's user avatar
-3 votes
1 answer
136 views

How to get field API Name and Values from an array list to be iterated in the HTML

From the list below, I want to have column in html with FieldApiName(column1) and FieldValues(column2) in HTML. How will I do that with the output list below. that accountIds can have different ...
sFDev_newbie's user avatar
0 votes
0 answers
53 views

Close window from Visualforce page after action completes

I have a custom button that allows a user to download a CSV of the record currently displayed. To do this, I'm opening a separate Visualforce page that triggers the download by returning a page ...
kai998's user avatar
  • 59
0 votes
1 answer
83 views

Error in Custom Lookup Component

I am struggling to fix the issue in the below look up component. The issue is, when ever user is searching the Account name in the search box , it seems to be stuck and results in missing some of the ...
Shekher's user avatar
  • 11
0 votes
1 answer
65 views

How to check few table rows by default when page loads

I have a table with checkbox column which will allow me check all/few rows as required on an LWC component. After selecting required rows user clicks a button and the page gets navigated to second LWC ...
sfdcDev's user avatar
  • 27
1 vote
1 answer
72 views

CSS link button not responsive

I am creating a link button purely using CSS and HTML. This is because I want to pass the html structure to an external system. It works perfectly fine when the browser tab is maximized. but when I ...
SFDC Learner's user avatar
0 votes
1 answer
71 views

Print values on side of Vertical Navigation bar

I want to add content on marked zone from vertical navigation bar I am pasting my code and image for reference below could you please help me out HTML <lightning-card> <div ...
Arjun's user avatar
  • 3
0 votes
1 answer
232 views

Display array of objects in two columns

I want to display array of objects in 2 columns. what is the easiest method to display the list as two columns? const columns = [ { subHeading: "A", subText: ["1", &...
SFDC Salesforce's user avatar
0 votes
0 answers
78 views

URL link to SF record from external system - Not working for Field

I'm working on an external app and i'm trying to add a link there to salesforce records/objects. When I'm trying to redirect the user to any record/object/user, I'm generating the URL like that: https:...
Texture's user avatar
0 votes
0 answers
96 views

Is it possible to show button to display a link on email templates in Salesforce

I have a classic email template where I am sending a link to a survey invitation to users. Due to some privacy laws, the link should only show up on the email, when the user clicks on a button 'Ok to ...
it-nish's user avatar
  • 11
0 votes
1 answer
135 views

Nested for:each Loop to render Data in LWC

let fieldConfigs = [ {"fieldApiName":"Id","label":"Id"}, {"fieldApiName":"Full_Name__c","label":"Full_Name__c"}, ...
Akash S's user avatar
0 votes
1 answer
312 views

How to hide address fields and just show address lookup on lightning-input-address?

I am able to use <lightning-input-address> to create a way to use address lookup functionality to prepopulate address fields. However, we want to hide the address fields and just show the ...
usernameabc's user avatar
0 votes
0 answers
290 views

Providing alternate display text for links in messages from Einstein bots

I'm just starting to learn Einstein bots in Salesforce, and I'm not the SF Administrator at our organization so I don't have a directly line to SF Support. Hoping someone here can help. Essentially ...
J Dot's user avatar
  • 1
0 votes
2 answers
67 views

I have a checkbox toggle in my child component, in which I am sending my parameter from parent component. But it's unable to read in HTML

Variable value which I am sending from parent component is getting it's value in child component but it's not getting read in HTML. As, in HTML I'm reading it via for each loop because I am having 3 ...
SF Learner's user avatar
0 votes
1 answer
233 views

What code in SFMC templates triggered the default header and footer and is it required?

In HTML emails (non-template based), it looks like customer HTML is NOT triggering the default header & footer, how come HTML email are able to go out without default header / footer and still ...
kl2's user avatar
  • 325
0 votes
0 answers
191 views

CTA border doesn't render properly with Outlook

I need to create an email with 2 CTA buttons that stay side by side. The first CTA has black background and the second one has white background. Both buttons have rounded corners (border-radius 6px), ...
Gio's user avatar
  • 21
1 vote
0 answers
45 views

How to prevent page unresponsiveness using aura javascript

I am uploading an excel sheet (xlsx and CSV) using sheetjs library. I want to read excel sheet and show the data in the datatable. When I am uploading large number of records the chrome is giving page ...
Sukruti's user avatar
  • 450
0 votes
1 answer
189 views

I have to insert an img using svg in 1column of datatable based on conditional rendering. How to have svg img in html from JS

I want to have SVG image in one column of data table along with it's data. Can't make any changes to HTML, so can't use IMG tag. I have SVG file as static resource. here's the code of HTML and JS HTML-...
SF Learner's user avatar
-1 votes
1 answer
111 views

HTML Email message in marketing cloud- email content changes every 15 days

My Creative team provided the HTML and I uploaded the code in marketing cloud and used it for creating an Email message (type HTML). This Email will be sent every 15 days. But the use case is- Every ...
Prerna Sharma's user avatar
0 votes
1 answer
892 views

Pass the data in prefill while calling Omniscript from LWC HTML

I am having one scenario where i need to pass record id from LWC to Omniscript. I got the record Id in the track variable, but i am strugling to assign as the below at the place of abc. <c-test-for-...
Shekher's user avatar
  • 11
0 votes
0 answers
144 views

Adding pop-up modal on page load to Salesforce CMS page not working

I'm trying to create a modal that pops up on page load and have the following in a Codepen, which works properly, but in Experience Builder, it's not working. In an "HTML Editor" component, ...
linnse's user avatar
  • 109
0 votes
1 answer
404 views

How can I add a form in a modal that pops up on first page load?

I'm trying to set up a modal that opens on page load, the first time a user accesses the site. The form is simple and will have two buttons: Are you an agent? Yes No If yes, the content on the page ...
linnse's user avatar
  • 109
0 votes
0 answers
134 views

Dynamic Topic Name in Community Cloud using LWC

I have a LWC which shows the sub topics of the community, which is 'Hard Coded' for the reference, ideally I want it dynamic. You can see in the image, the component in red are provided by Salesforce, ...
Dharmin's user avatar
0 votes
0 answers
20 views

How to take fields information from URL and fill out at a LWC form [duplicate]

I'm getting a URL similar to this: https://abc.sandbox.my.site.com/community/s/abcd?priority=Medium&issue_description__c=Test%20-%20Please%20ignore%C2%A02&request_title__c=Test%20-%20Please%...
André Rödel's user avatar
2 votes
1 answer
425 views

Is there a way to pass in markup to a modal built with "lightning-modal"?

In LWC, when using a custom modal component, I'm able to pass in markup to my modal body using slots like so. <c-custom-modal> <lightning-card slot="main"> &...
Sal Carrera's user avatar
0 votes
1 answer
651 views

Not able to render HTML in PDF using jsPDF library in LwC

I am trying to build a simple custom pdf in LwC using jsPDF v2.5.1 library and loading this library using loadscript in rendered callback method, now I am trying render HTML content in PDF using doc....
Sagar 's user avatar
  • 25
0 votes
1 answer
95 views

This is my form, how can I hide my form and display thanks note after form submission

<meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/...
vis_1019's user avatar
-1 votes
1 answer
1k views

Display html contained in js variable in LWC

I have a variable in my js file, let's say myCode = "<h1>HELLO</h1>"; myCode displays as <h1>HELLO</h1> in HTML. . . I want it to render the h1 tag and just display ...
mackmama's user avatar
  • 699

1
2 3 4 5
21