Questions tagged [dynamic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
30 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 ...
user avatar
0 votes
1 answer
53 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 ...
user avatar
  • 1
0 votes
1 answer
18 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 ...
user avatar
  • 3
1 vote
2 answers
108 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 ...
user avatar
0 votes
1 answer
31 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 ...
user avatar
0 votes
0 answers
8 views

Hi, In dynamic Interactions, i want to use aura component as target component and lwc as source component. please give any suggestions

[![It takes both admins and developers to make Dynamic Interactions work, but the keystone is a custom source component that defines the properties of the event to be triggered. Add event metadata and ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
  • 51
-1 votes
1 answer
24 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
user avatar
0 votes
0 answers
19 views

Dynamic Text Template in a Flow

I am trying to create an email alert that contains a list of records. The relation from the input record (call it "Object A") to the list I want to show (call it "Object C") is ...
user avatar
0 votes
0 answers
20 views

Data Extensions used for Dynamic Content in Journey Builder

I have a question for the use of dynamic content in Journey Builder in Marketing Cloud. I just wanted to confirm that if a dynamic containing content blocks with rules created based data extension A ...
user avatar
  • 1
0 votes
1 answer
53 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 : ...
user avatar
0 votes
1 answer
41 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 }) { ...
user avatar
  • 2,068
0 votes
0 answers
21 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 "...
user avatar
  • 63
0 votes
0 answers
14 views

dynamically show a text field

On a Licence Request record, if a specific value is selected from a picklist, then a text field should be dynamically displayed on a Licence Request Key record. Can this be done via a formula or ...
user avatar
  • 79
0 votes
1 answer
449 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 &...
user avatar
0 votes
1 answer
22 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 ...
user avatar
  • 13.2k
0 votes
0 answers
27 views

Auto Collapse lightning field section

Is there a way to auto collapse the lighting field sections on flexipages ? This is original announcement but falls short of controls. Hoping near future Salesforce release provides these controls ...
user avatar
  • 703
0 votes
1 answer
46 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. ...
user avatar
0 votes
0 answers
18 views

selection binding in einstein analytics

I'm trying to do selection binding in einstein analytics but only first toggle is working rest other two toggle are not working I have shared my screenshot and i am sharing my query groups: {{column(...
user avatar
0 votes
1 answer
48 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, ...
user avatar
2 votes
0 answers
62 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 ...
user avatar
  • 31
0 votes
0 answers
32 views

How do I display the values of a picklist field on the Case Object in the Chatbot Dialogue for the customer to choose from?

I have dialogue in the Chat bot where the customer would like to create a case. The bot prompts the customer to enter in their First Name, Last Name, Phone and Email but there are also 3 picklist ...
user avatar
1 vote
2 answers
84 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 ...
user avatar
0 votes
1 answer
106 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'){ ...
user avatar
0 votes
0 answers
90 views

Einstein chatbot not showing the dynamic list with one record selected

I got a requirement to display the list of orders customer placed and the list I am fetching it through Flow with conditions added to it. From the dynamic list of option, customer need to select one ...
user avatar
  • 1
0 votes
1 answer
214 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?
user avatar
1 vote
2 answers
163 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 ...
user avatar
  • 23
-2 votes
1 answer
61 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 ...
user avatar
  • 1
1 vote
0 answers
49 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 ...
user avatar
  • 17
0 votes
0 answers
45 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. ...
user avatar
  • 17
1 vote
0 answers
55 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&...
user avatar
0 votes
1 answer
596 views

Dynamic actions in lightning record page not showing Send Email quick action

I created a new action to send an email in Buttons,Links and Actions of a custom object.I also created a new lightning record page for that object and enabled dynamic actions.But I couldnt find the ...
user avatar
  • 113
0 votes
0 answers
25 views

How to display form B once form A of the Dynamic form is submitted

Hope you are doing good! I am new to salesforce, I am using Dynamic forms to display few fields after submission of that form, I need to display another form with different fields is that possible or ...
user avatar
0 votes
0 answers
9 views

How can we add attachments option using dynamic forms (Lightning app Builder)?

Hope you are doing good! I have to add attachments option in dynamic form (Lightning app Builder),hence could you please suggest if there is any possibility to do this or Kindly recommended any other ...
user avatar
2 votes
1 answer
1k views

How to iterate over all the queried out fields of a single record

I need to iterate over all the fields that I query for a record and check all of those that are custom field checkboxes and see if any are true. The part that I'm not sure how to do is how to iterate ...
user avatar
  • 574
0 votes
0 answers
35 views

How to create and add custom fields to existing custom object programmatically using apex? [duplicate]

I've looked around for this and there seem to be a couple of different ways on how to do this. https://developer.salesforce.com/forums/?id=9062I000000Qw4ZQAS Create custom fields with apex However, ...
user avatar
  • 574
1 vote
1 answer
486 views

Deploy fields in field sections on dynamic forms

I am deploying an app that uses Dynamic Forms with multiple field sections. However, the target deployed environ only shows the field sections without any of the fields in them. There are no records ...
user avatar
  • 703
1 vote
1 answer
580 views

How to add Dynamic Picklists to your LWC Design File for FlowScreen?

What is the best way to add dynamic values as datasource to FlowScreen components? Is there a way? Assuming that it's not supported, what would be the best alternative to keep the code consistent. I ...
user avatar
0 votes
1 answer
240 views

SFMC - Journey Builder - custom activity - Content Builder Templates

I am trying to replicate the standard feature i.e I want to show the Content Builder Templates dynamically inside Custom Activity based on the Folder Selected. Requirement: On the Custom Activity UI, ...
user avatar
3 votes
1 answer
447 views

Is it possible to cast wrapper instance dynamically?

I wonder if it is possible to cast object parameter passed from LWC Component to specific instance of Wrapper class. In Example we have WrapperB that extends WrapperA and we want to cast data passed ...
user avatar
  • 635
0 votes
0 answers
62 views

Pass identifier of the wire adapter dynamically

I wonder how to pass identifier of the wire adapter dynamically that in result we can create more generic LWC component. In example pass imported apex method dynamically to @wire adapter (smth like JS ...
user avatar
  • 635
1 vote
1 answer
45 views

Dynamic columns and InputText bindings

I have a map called getMonthAndYear() where it creates values from the startDate and EndDate of an opp. I am also adding two other values so the map looks like this. Product | Description | ...
user avatar
  • 73
0 votes
1 answer
117 views

Dynamic Sender Profile Sender Name

I am trying to create a dynamic sender profile, but only change the sender name based on the sales rep associated to the record. I essentially have 3 tables I need to work with. The sending data ...
user avatar
0 votes
1 answer
181 views

Json deserialize System.NullPointerException: Attempt to de-reference a null object

I am trying to deserialize a json string and get the fieldtypes but get an error on the valueType. I am trying to simulate a Json request from postman to send a Post with a list of accounts. I dont ...
user avatar
  • 2,068
0 votes
1 answer
613 views

How to dynamically get name of object JSON String

I want to create a generic webservice. As I understood going the way of using Schema.getGlobalDescribe() will result in performance issues. I decided to try using JSON Schema trough Custom metadata ...
user avatar
  • 2,068
0 votes
2 answers
103 views

Use field value with LAST_N_MONTHS

I am trying to accomplish something like the following: [SELECT Id, CustomMember__c, CreatedDate FROM CustomObject WHERE CreatedDate = LAST_N_MONTHS:CustomMember__r.CustomLevel__r.CustomPeriod__c ...
user avatar
0 votes
1 answer
65 views

How to make a count to show a dynamic block

In SFMC we need to show a block after the customers 4th purchase. This means when the customer have bought: 4, 8, 12 and so on. I know I could use a dynamic content block and then you add the numbers ...
user avatar
  • 5
4 votes
1 answer
399 views

Must I cast a JSON deserialization into an object?

The Apex Developer Guide discusses the deserialize(jsonString, apexType) method of the JSON Class here, with the given example: Decimal n = (Decimal)JSON.deserialize('100.1', Decimal.class); System....
user avatar
1 vote
1 answer
459 views

Lightning Tree Grid LWC Render issue

When I assign hardcoded Javascript JSON in LWC then the Tree Grid gets rendered. const items = [{label:"Premier League",name:"Premier League",type:"League",treeIcon:'...
user avatar
  • 750
2 votes
1 answer
401 views

Pass Recordid to dynamic Component

I am trying to create a dynamic component and i am able to load "loadingSWQuotes" component successfully. I want to pass the quoteid as a parameter to the component. init : function(...
user avatar

1
2 3 4 5 6