Questions tagged [page-template]
The page-template tag has no usage guidance.
28
questions
0
votes
1
answer
156
views
how to access clientside code object in handlebar in salesforce marketing cloud personalization web template
I am trying to develop a timer clock in marketing cloud personalization web template and i am kind of new to salesforce.
right now, i have a date set in serverside code as below:
export class ...
0
votes
0
answers
10
views
Custom validation error during package installation with custom lightning app builder page template
I created a Custom Lightning Page Template and used it in the App home page.
Aura cmp file appHomeTemplate.cmp:
<aura:component implements="lightning:homeTemplate" description="...
0
votes
0
answers
79
views
Get current lightning page template name from LWC
I want to get the Lightning Page template name when I open my LWC.
Based on the template name I want to show different UI styles.
So I want to find out the template name and the "region" ...
0
votes
0
answers
323
views
Change Lightning Record Page Template button Is not working
I want to change Template for My Account Lightning Record Page.
However when I click on the Change button nothings happens.
Did anyone have the same problem before ?
Any help will be appreciated.
...
2
votes
0
answers
218
views
Is there a recipe for expanding a flexi-page region to the full page size or is that "just not a thing" in Lightning?
Because a lot of editing is done on one of the regions of a page template, I'd like to be able to expand that region to the full page size.
But even with the reporting dashboard the 4 arrow icons:
...
4
votes
0
answers
2k
views
How To Create a Pinned Region in Custom Page Template
In a Lightning App, I've already created a custom page template successfully - relatively straightforward.
Now I need to create a custom page template that includes a pinned region, like in some of ...
3
votes
1
answer
579
views
Lightning App Builder - Source Code For Built-In Templates?
When editing a page in the Lightning App Builder, we can edit the layout template:
I want to make my own custom template based on one of the Standard, out-of-box templates - can I view the source of ...
0
votes
1
answer
1k
views
How To Create Custom Page Template With Collapsible Panels
In the Lightning App UI, I'm working in a Case Record Page (Page Type = Record Page, Object = Case), that looks like this:
I want the left and right panels (the case info and knowledge search) to be ...
0
votes
1
answer
252
views
Aura Template to get child components by `data` attribute
It seems I can't access child LWC components while I am using the controller.js from an Aura Template for Record Page. Everything returns back a length of 0. I've tried document.querySelectorAll and ...
1
vote
2
answers
760
views
Custom Lightning Page Template Fit To Console App Window?
I'm trying to create a lightning page template for a record page that will be viewed in a console app. I want a 2 column layout in which the columns are the size of the console app visible window and ...
5
votes
0
answers
288
views
How to update an exported Lightning Community Template
I have a managed package containing an exported Lightning Community Template. I would like to add a new page/ change an existing page on the template. When I try to re-export, it says that the name ...
2
votes
1
answer
3k
views
How to hide page header in lightning component
I want to hide a page header from an appHomeTemplate I have looked at several similar questions but none of them give an answer.
I have used .THIS.slds-page-header { display: none; } in my page ...
1
vote
1
answer
1k
views
Custom Lightning Record Page Template not showing up in Template Switching Wizard
Built a custom lightning record based on the code here (the "Making a Record page with collapsing regions" one). It shows up under Custom when i go to build a new lightning record page but when i go ...
0
votes
1
answer
38
views
Can a Partner Community have multiple templates? [closed]
Hi I have a Partner Community with 20 users. Out of the 20users I am using 3 different roles and one profile. I want each role to see a different template. How would I go about doing this? Is this ...
3
votes
3
answers
349
views
Lightning Community: v.body on Custom Template is initialized even inside an aura:if
I have a Lightning Community and I'm using a custom HTML template to render my pages, inside this HTML template I have a v.body where my custom components are being displayed (the ones selected from ...
1
vote
1
answer
3k
views
How do I create a custom login page in Lightning using Napili template
Napili automatically assigns login to its own Login page. The template does not appear to allow use of a Custom Login page. Also, the assigned Login page does not import the CMS Connect headers and ...
6
votes
1
answer
5k
views
Custom Lightning Page Template is not listed in Choose template of Lightning App Builder
I have created a sample lightning home page template, but it is not listed when I try to create a home page.
Component:
<aura:component implements="lightning:homeTemplate" description="A single ...
0
votes
2
answers
135
views
What are we achieving with Visualforce templates in Salesforce
I was reading few articles about Apex Template and after reading everything I really doubt that Apex template is useful. Because as per template concept, if there is repetitive statements or code in ...
1
vote
0
answers
54
views
Visualforce template and page action attribute: order of execution
Basically I have simple vf template MainTemplate and two pages (PageOne and PageTwo), which use this template. All pages & template share the same controller MainController. There are three action ...
2
votes
1
answer
39
views
Email current record with layout via Apex
I'm creating a messaging class where I want to send an email from a record. I'm not sending to a user/contact/lead so I can't use a template and my record has over 100 fields on it so I'd rather not ...
1
vote
3
answers
3k
views
Adding logo to community template
Is it possible to add a logo to the out-of-box community templates Salesforce provides besides "Salesforce Tabs + Visualforce" (the long-standing customer portal/communities template that looks like ...
1
vote
1
answer
1k
views
How to make an in-line Visualforce Page to be displayed in the NEW LEAD standard page?
I created a Visualforce Page to search for Addresses based on the CEP (Zip Code in Brazil). Then I created a new section on the Lead template and added the new Visualforce page. Everything is working ...
1
vote
2
answers
972
views
Issues setting up Salesforce communities using one of the self-service templates(Napili)
I was wondering if anyone has had any experience setting up a community using the new self-service templates. I personally have set-up Salesforce community in the past using the "Salesforce tabs + ...
8
votes
1
answer
5k
views
Can You Use A PDF Template In Apex?
I was curious if I could leverage a standard PDF template or make a custom one that I can then render via Apex somehow. I'm curious if I can either:
Render it as a PDF directly in Apex via ...
2
votes
0
answers
28
views
Render based on TemplateId [duplicate]
I have a requirement to show an apex page message "XX YY" if the selected template id to email is "Update Status". (This message needs to be displayed when they make the selection not when they click ...
2
votes
1
answer
461
views
apex:insert name must be literal
I have a page template which uses custom controller.
This controller has a property TabName. It gets value from component control.
I want to use the value in TabName in <apex:insert name="{!TabName}...
6
votes
1
answer
816
views
apex:composition vs. apex:page
Let's say I have a "by-the-textbook" vf page, using apex:composition and a template:
<apex:page docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" applyBodyTag="...
3
votes
1
answer
268
views
Site.com: variables in page templates
We are using Site.com to create community pages. These pages will be edited by contributors. There will be one page for each product. I want to use a template which contains text. Can the text ...