Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [dynamic]

The tag has no usage guidance.

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

Display Phone Number from Contact in LWC

Hey, I am working on click-to-dial Component, for now, I simply want to show text the "phone number" of the account open in salesforce. the phone number is hard coded, I want to display the ...
omar's user avatar
  • 1
0 votes
1 answer
42 views

Display no content if the condition is not met AMP script

I'm trying to build a dynamic email with different blocks displaying based on the if/else check. I can't understand how do I display nothing and go to the next step if the condition is not met. Here ...
Mikhail's user avatar
0 votes
0 answers
27 views

Dynamic forms link to report

The upgrade to dynamic layouts is great, but I can't figure out how to generate a parameterized value now. I used to be able to use: https://mydomain.lightning.force.com/lightning/r/Report/[ReportID]/...
Keith McAfee Rulesix's user avatar
0 votes
1 answer
48 views

Splitview in FlexiPage in Salesforce lightning

When creating a lightning page we have a template which can be selected. But these templates have a static grid. Something like these: But is there a way where I can select a template (Header and ...
Nagendra Singh's user avatar
2 votes
1 answer
98 views

Difficulties with using dynamic components introduced in Winter24

I am really excited that Salesforce introduced the dynamic component instantiation in LWC with Winter24, however, I am wondering how to use it with dynamic positioning and rendering. With my ...
Andrew's user avatar
  • 65
1 vote
0 answers
134 views

Injecting content into slots created with document.createElement() does not work

I have a requirement to position and render components dynamically based on the list of the maps I am getting as the input. So, I thought that I can construct the grid of slots and then iteratively ...
Andrew's user avatar
  • 65
0 votes
0 answers
74 views

how to retrieve dynamic field info configured in lightning record pages

We are working on clone functionality and would like to have same fields on clone button what configured on lightning record page.The standard clone does have field layout accoridng to page layout. I ...
sanket kumar's user avatar
  • 15.4k
1 vote
0 answers
140 views

How do you effectively use URL parameters to manage a large number of dynamic Reports?

This question is borderline opinion based, but hopefully still acceptable. How do medium to large organizations manage Reports that should have dynamic parameters? Consider a company that has ...
kennyc's user avatar
  • 349
0 votes
1 answer
60 views

Issue related Dynamic SOQL query

I have written a dynamic query for filter data at run time based on the different condition. string squery='Select id, SVMXC__Serial_Number__c, SVMXC__Serial_Number__r.Name, SVMXC__Service_Order__r....
Shruti Saran's user avatar
0 votes
1 answer
277 views

Create a dynamic sender profile from an Ampscript variable that has been set in the email

I'm working on creating a dynamic sender profile (DSP) for a client. It's my understanding that the way it's usually done, you will do a lookup based on a subscriber attribute, e.g., city, country, or ...
August Rimmen's user avatar
0 votes
1 answer
118 views

Dynamic actions support for order object

I had enable dynamic action and change the visibility in the order object, it works fine on desktop, but not for mobile. I tried to find something but I didn't find nothing related to support for ...
Alexia's user avatar
  • 83
0 votes
0 answers
199 views

Dynamic URL formula field with a substitute and an IF?

Would be possible to do an IF here to say if a url is Sandbox.my.salesforce use this url and if it doesn't follow this other one? This formula is combining elements of an aloha redirect into a ...
Koolzero's user avatar
0 votes
1 answer
42 views

Troubleshooting simple IF/Then Ampscript Statemend SFMC (Dynamic Header)

I am trying to figure out why I keep getting an error with my Ampscript code block? I'm new to Ampscript, so apologize for a newbie question, but can someone please take a look at this and see if I ...
Ashmeeta Maharaj-Bickham's user avatar
6 votes
2 answers
2k views

LWC Table with Dynamic rows from Tree Data

I have searched previous questions and believe my issue is unique. There are questions that are similar, but not exactly what I am trying to solve. I am creating a custom LWC component to display a ...
rStrunk's user avatar
  • 67
0 votes
1 answer
273 views

Parentheses on Dynamic SOQL Unexpected Token '('

I still dont get to know why this dynamic query executed through Database.query() is throwing Unexpected Token Error on the parenthesis char. My code so far is this: @AuraEnabled public static ...
Samuel L's user avatar
-1 votes
1 answer
564 views

Mulitipicklist filtering in dynamic page

Can I apply a filter on a field in a dynamic page with the options chosen in another multi-picklist field? It will work for a normal picklist but for multi picklist is it possible? When I checked I ...
Ash's user avatar
  • 5
3 votes
2 answers
3k views

How can I change the background color of an input in a lwc?

When changing the background-color attribute of a <lightning-input this also changes the label's background. Inspecting the input I found a class called .slds-input which allows you to change the ...
Sean's user avatar
  • 51
2 votes
0 answers
552 views

Salesforce Flow - Is it possible to update a dynamic field?

I currently have a Record-Triggered Flow on Lead object which is not really complex, but with a lot of possible issue, and I'm pretty sure it can be improved. This Flow is basically updating some &...
Gachdel's user avatar
  • 21
0 votes
1 answer
379 views

How can I set values in a list from rows (input field) that are added or deleted dynamically?

First I have one row. On 'and' button I added two more. I want to get a list of values from input fields. How can I do this? from .html file <template for:each={itemList} for:item="item" ...
Maria's user avatar
  • 25
0 votes
1 answer
191 views

How do I apply dynamic styling to a specific item within a for:each loop using a unique identifier in the object data

I am rendering a "timeline" made up of activity objects.(see below) I am using a for each loop to display them within a timeline component. Each object has a unique id. I want to add styling ...
Eduardo Gutierrez's user avatar
0 votes
2 answers
582 views

How can I control the value in one field based on the other field?

I am new to the salesforce , please help me to get fix for the below requirement. As marked in the image,the Chapter is a lookup field which needs to show up values based on Subchapter/Division field. ...
Nanda Merawade's user avatar
1 vote
1 answer
108 views

Dynamically Adding Rows not Inserting Records - Null JSON

I Have created a LWC to dynamically add rows and insert the records, but the insert is failing with the error below message :"null input to JSON parser" stackTrace: "(System Code)\...
Jeff Callahan's user avatar
1 vote
1 answer
59 views

How do I dynamically unregister a Connected App which was dynamically registered?

How do I dynamically unregister a Connected App which was dynamically registered? If I perform dynamically registration on package install, how do I dynamically unregister when the package is being ...
Patlatus's user avatar
  • 17.1k
3 votes
1 answer
315 views

Register dynamically Connected App: was anybody successfully done it?

Register dynamically Connected App: was anybody successfully done it? I tried to follow the steps provided in this article https://help.salesforce.com/s/articleView?id=sf....
Patlatus's user avatar
  • 17.1k
0 votes
1 answer
2k views

How to add Dynamic Related list - single to the community builder page

I want to add a dynamic related list- single on a page on my community site, but I don’t see how I can do this as there is no component available to drag and drop it. Also this dynamic related list - ...
Anwar's user avatar
  • 15
-1 votes
2 answers
5k views

Write a code to pass a user input given in an Aura component to a child LWC component [closed]

So there is a Parent Aura component and a Child LWC component. I have to take a user input in the Parent Aura component, and now in the child LWC component, I have to show that input. I am pretty new ...
TheGeekGuy's user avatar
0 votes
1 answer
706 views

Is there a way to read .xlxs files into my org with a dynamic sheet name? [closed]

I am currently able to read the data in an Excel file and convert it to JSON to be added to my org(Case Numbers and custom object IDs). However the sheet name in the Excel is currently hard coded as ...
mcook's user avatar
  • 1
0 votes
2 answers
259 views

Remove spaces and accents from a value field to put it in a From Email Adress field - dynamic sender profile

I need to remove spaces and accents (special characters) and capital letters from the 'From Email Address' field in the sender profile. Indeed, I would like to compose a dynamic From Email Address in ...
Lamia Hafid's user avatar
0 votes
1 answer
630 views

SFMC - How to trigger an email based on email form submit

I am trying to build the following journey. I have a landing page (w/ smart capture form) that captures the customer's information. After they submit their information, an email is automatically ...
bourki's user avatar
  • 1
0 votes
1 answer
224 views

Populating multiple tables in a Email using AMP script [closed]

I've got 3 DE's say (DE1,DE2,DE3) which different attributes and a sendable-DE (master-DE) with Email column I have to create an email which contains 3 tables (T1,T2,T3) and Insert the values in the ...
Gowda's user avatar
  • 3
1 vote
2 answers
4k views

LWC Quick Action - Can we determine which Action button invoked the LWC component?

I've written a LWC Quick Action with corresponding JavaScript & Apex Methods. I want this component to be invokable from 3 separate Action Buttons on a record page. In all 3 actions, I want it to ...
Morgan Marchese's user avatar
0 votes
1 answer
600 views

_Job data view and viewing dynamic subject lines, impossible?

Logically speaking, I believe it's pretty much impossible for the _Job data view to be able to record VARYING subject lines (based on dynamic rules and whatnot) with the same JobId - correct ...
Mike Marks's user avatar
0 votes
1 answer
388 views

looping over dynamic soql of indeterminite dimensions

Hoping someone has a clever strategy for the following scenario - I have a dynamic soql query that when assembled could be either: soql = 'select id from a'; soql = 'select id, (select id from b) from ...
Pete's user avatar
  • 81
-1 votes
1 answer
116 views

Dynamic/Personalised link in Email Studio

I'm trying to send out a survey email using dynamic survey link to different people. What would be the ideal way to achieve this? Do I just upload it to DE and use AMPScript? Thanks
James Kim's user avatar
0 votes
1 answer
433 views

How to use variables in dot notation to find child relationship name?

Instead of teacher__c and student__c, they needs be dynamic variables. How can I substitute these API names with variables: parentApiName and childApiName? for (ChildRelationship relation : ...
ApexCowboy's user avatar
0 votes
1 answer
410 views

How to make value table LWC component dynamic

I have the following syntax where I want to replace 'Accounts_List' with a design value : @wire(getDynamicTableDataList, { TableName: 'Accounts_List'}) wiredContacts({ error, data }) { ...
Thomas's user avatar
  • 2,298
0 votes
0 answers
96 views

aura render event: DOM update issue

This question relates to this post, where we got rid of the unescapedHtml tag to rather use render event for dynamic DOM manipulation. My new issue is the following: I'm listening to the aura "...
M.C's user avatar
  • 63
1 vote
2 answers
2k views

How to dynamically disable buttons inside lightning:datatable in Lightning Web Component

I have a lightning:datatable with two buttons for onrowaction. Datatable shows Order Items. I want to dynamically disable ALL buttons (including "Add" and "Remove") after button &...
Tantlord's user avatar
0 votes
1 answer
29 views

Dynamic class initialisation doesn't work in 2GMP

I want to use dependency injection to detect if descendant package is installed in addition to inherited package and modify the behaviour of inherited package to depend on class from descendant ...
Patlatus's user avatar
  • 17.1k
0 votes
1 answer
218 views

Select related object based on priority field

I have two sobjects PriorityCase__c (Person__c(master-detail to Person__c), Priority__c) and Person__c (name). And I want to select Person__c with the highest Priority__c. The highest priority is 1. ...
Zalivada's user avatar
0 votes
1 answer
884 views

Enhanced Dynamic Content block

I was looking into this Enhanced Dynamic content feature within Content Builder and viewed the Youtube video about it. It mentions that everything is setup into a CSV file with content (text, HTML, ...
Anastasia Zagrebina's user avatar
3 votes
1 answer
482 views

I can set a dynamic filename of PDF(Visualforce page). but only Japanese characters are not shown

The codes are below. I can set the name of pdf dynamically and when I use the "save as" the name of pdf is set the filename. But the filename will be set if it is an alphabetic or numeric ...
user97538's user avatar
1 vote
2 answers
481 views

Outputting the value of dynamically created AMPScript variables

In an email, I am using SSJS (I know, frowned upon) to parse out a JSON string. %%[ var @resourceCount ]%% <script runat="server"> Platform.Load("Core","1"); var ...
Mike Marks's user avatar
0 votes
1 answer
691 views

How to dynamically reference custom field? [duplicate]

I am new to Salesforce, and programming. Is there a way to reference CustomObject__c when adding to list, without hardcoding the name of the field (customObject__c)? Example: If(Name ='123'){ ...
Y_m5437's user avatar
0 votes
1 answer
569 views

LWC Button with parameterized Apex method

I want an LWC Button component where the user putting it on a Flexipage can define which Apex method to call? By putting the name of a Callable class into a parameter field? Is that possible in LWC?
Robert Sösemann's user avatar
2 votes
2 answers
2k views

Dynamically get object info

I see so many examples like below; however, I want to be able to pass a string that holds 'Account' or custom object name for example. The examples I see on SF are hard coding Account. The reason I ...
TomB's user avatar
  • 33
-2 votes
1 answer
758 views

Retrieve field details based on Record API Name [duplicate]

When I'm trying to retrieve the fields baes on a record, I get this error :Line: 8, Column: 1 System.NullPointerException: Attempt to de-reference a null object. and This is my code : public static ...
Rabii's user avatar
  • 1
1 vote
0 answers
190 views

Building json dynamically

Following on from Any Ideas for Building dynamic JSON with apex. Trying to build json literal from an sObject dynamically (according to custom metadata - see here for more detais) I have allowed ...
DavidS's user avatar
  • 37
0 votes
0 answers
261 views

Any Ideas for Building dynamic JSON with apex

I need to build a json for external rest service(non salesforce platform) dynamically according to mapping stored in a custom metadata object (named SobjectToJSONFieldsMapping__mdt) records(i.e. ...
DavidS's user avatar
  • 37
1 vote
0 answers
303 views

Change record id of lightning-record-form

I want to change the ID of the form but it doesn't load the new record. I have something like this: <div class="slds-modal__content slds-var-p-around_medium" id="modal-content-id-1&...
Nicolás Abondano's user avatar

1
2 3 4 5 6