Questions tagged [dynamic]
The dynamic tag has no usage guidance.
253
questions
0
votes
1answer
40 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 ...
0
votes
0answers
21 views
Dynamically populate VS Email template in Apex Triggers
I have a custom object created and upon update or create I have to have an email sent out.
I am trying to changes values within a VS email template according to the Trigger. I am also doing a small ...
1
vote
1answer
42 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 ...
0
votes
1answer
55 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, ...
2
votes
1answer
82 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 ...
0
votes
0answers
33 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 ...
0
votes
0answers
18 views
Retrieve data from a data extension, filtering by a specific field value in a trigggered send
I am trying to fetch content dynamically for a triggered send email.
I have a field named event_id from the triggered send which I wanted to match with other data extension "Livestream Events DE&...
0
votes
0answers
8 views
How to get All fields to be shown at HTML from Javascript without using Static Field Names
Sorry for poor communication, i am actually confused on how should i ask it!
i wanted to show my Fields into HTML without using dot(.) operator coming from JS Promise Function, is there anyway to do ...
1
vote
1answer
43 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 | ...
0
votes
0answers
12 views
Visualforce Dynamic Columns Table
I am looking to create a dynamic Table in a VF page that will look a bit like this
!dynamic table]1
The header is dynamic. this is basically a LIST created in my controller
Here is the code:
public ...
0
votes
1answer
34 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
45 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 ...
0
votes
2answers
26 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
...
0
votes
1answer
41 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 ...
4
votes
1answer
83 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....
0
votes
1answer
100 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:'...
2
votes
1answer
58 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(...
0
votes
1answer
28 views
Physical Mailing Address is in my email code, but I still get the “missing Physical Mailing Address” error on validation
I have an email developed using Dynamic Content (and note, that this issue seems to be prevalent when I'm using Dynamic Content for some reason), and as you can see, I have the business address ...
0
votes
1answer
24 views
How to populate values on sobject dynamically for different types?
I have a method that puts an sObject to a queue that is updated once a trigger handler completes processing all records.
public static void enqueueUpdate(Id sObjectId,Map<String,String> keyValue)...
0
votes
1answer
128 views
Dynamic Preheader with AMPscript
So this is essentially the same question as AMPscript Variables in Preheader. However, when I follow the individual's steps, I'm still not able to populate the dynamic preheader. In fact, now I can't ...
0
votes
1answer
43 views
How to trigger a send based on Email ID?
I would like to create a simple cloud page that our brand teams can use to trigger their own test sends. I'd like to do this without having to setup 100+ triggered sends. My goal would look like this
...
0
votes
1answer
195 views
Dynamic conditions using custom metadata
Assume that on update of an sObject record, I want to execute some code only if a particular condition is satisfied. Now the requirements are very dynamic, and conditions will change often. Infact I ...
0
votes
2answers
139 views
How to make page layout dynamic based on dependent picklist fields?
I have a scenario that based on few dependant picklist fields, the page layout/fields in the page layout gets changed. Is it possible to do it using any declarative method or dynamic forms or flows or ...
0
votes
0answers
28 views
How to refer to dynamic field names in lightning web component data table?
I am quite new to LWC programming, and I am being asked to develop an application which I think is relatively "advanced", and I am seeking some help about how to achieve it. The program is ...
0
votes
2answers
49 views
Error throwing up in Dynamic forms for “Created By Id” and “Last Modified By Id” fields for specific profile
We recently using Dynamic forms for custom objects. The issue we have here is for a specific profile "Created By Id" (which is a lookup field from "User" object) and Last Modified ...
0
votes
0answers
41 views
Dynamic Ampscript not showing in Email Inbox
I have a dynamic value which is a referral customer go, RAF_ID . Within my email body I have Ampscript %%=v(@RAF_ID)=%% in a text box. When I preview and test it, it show the RAF_ID just fine. However,...
1
vote
1answer
1k views
Is it possible to import a dynamic custom label in LWC JS?
Here's the situation as I understand it of what we want to do:
An lwc component is created that uses custom metadata to set the data inside the component. One of those things is a field with a value ...
0
votes
0answers
13 views
Report dynamic Filter values are overriding because of There is no change in Report URL after removing filters from REPORT
I am facing below issue because of my report.. I have built a report using custom report type and then I had set dynamic filter values in the filter columns
enter image description here Now, this ...
0
votes
0answers
23 views
Tracking dynamic journey performance by data extension
I am creating a journey where I need to have a triggered email stream for many different clients. I have been told the best way to do this is to standardize the blocks used in the stream and make all ...
3
votes
2answers
225 views
CSS class not getting added to the LWC
I Have created an LWC component with following files
.HTML file
...
<lightning-datatable
key-field="id"
data={data}
columns={columnsInProgress}
is-loading={tableLoadingState}
...
0
votes
1answer
62 views
how to set component attribute value in static resource css
problem :
I have to set values of css dynamically . I upload css file in static resource
css is like :
p {
font-size : {v.font_size}
}
component :
<aura:attribute name="font_size&...
0
votes
1answer
174 views
How to put filter in report for dynamic last month?
I am trying to filter out records in my salesforce report like i just want to see last month records (Created Date).
See below what i have done so far,
Date filter on Created Date > CUSTOM > 02-...
0
votes
2answers
120 views
Dynamic Link UTM Tracking Not Working
I have a dynamic link in an email that is being pulled from a data extension. The URL is listed below and while the link works correctly, the utm parameters are not tracking in google analytics so we'...
1
vote
1answer
267 views
How to clone previous row values to next row in LWC?
I was able implement adding/removing rows dynamically functionality in LWC by following this blog of ADDING/REMOVING ROWS DYNAMICALLY IN LWC.
However, I want to extend the functionality such that ...
0
votes
1answer
56 views
set dynamic From name and From address for Triggered Send
I have created a sender profile with Name = %%FromName%% and Address = %%FromEmail%%
I want my triggered send to pick up the sender email address and name from the the row in the same payload.
I want ...
0
votes
1answer
46 views
Assigning values to sObject from csv
i've got a csv file containing records to update/insert on salesforce.
I did split the csv files in 2 lists of string, one containing the field api name and one containing the field values. The ...
0
votes
1answer
44 views
How to dynamically change the start time in the query body of REST API
I am doing a REST API call using POST method with [SSJS]. In the body of the API i am sending the following parameters.
var start=
{
"activityTypes": [
"Wait"
],
"start": "2020-...
1
vote
2answers
755 views
LWC - Dynamically Get Field Info without APEX
Is it possible to get field info (esp. picklist values) in an LWC controller for dynamically specified fields?
The getPicklistValue docs demonstrates fetching data for an explicit field, but is there ...
0
votes
2answers
122 views
Is there a way to dynamically generate conditions in a loop
I currently have a batch proces which gets an amount of records as a scope. I want to execute some manipulations on these records based on some conditions where only 1 value changes and where the ...
0
votes
1answer
132 views
Why dynamically creating Aura Component not working if access level is not defined?
I have a code that creates an Aura component dynamically.
$A.createComponent('c:HelloWorld', (content, status, message) => {
console.log('Status : '+ status); // Status : ERROR
console....
1
vote
1answer
68 views
Does apex support dynamic System.Type methods for dynamic deserialization?
Right now I am doing a deserialize/serialize trick to remove a field on the account record. I want to be able to abstract this code from just the account object to sObjects in general. Right now I am ...
-1
votes
1answer
26 views
dynamic visualforce input field data-required text box for a radio field
I have a visualforce page in with lightning styling and want to fix an issue in it.
There is a radio button that I need to conditionally make required.So when
New is chosen the input field should be ...
0
votes
1answer
36 views
Keep content blocks up-to-date Not working?
I have an email that uses a dynamic content block which switches images based on country.
When I selected the option "Choose Keep content blocks up-to-date to apply future source block edits to ...
0
votes
1answer
157 views
component.set('v.options') not working for lightning combobox
I am trying to set the options of a lightning combobox component dynamically by using component.set('v.options', myOptions) as was the case for the now deprecated ui:inputSelect but it seems not to be ...
2
votes
2answers
147 views
Dynamically creating components vs Using Aura:if
Could someone please enlighten me on the pros and cons and use-cases of creating components dynamically from JavaScript as compared to using Aura:if in the markup to render components? I am not quite ...
2
votes
0answers
25 views
Dynamic Deserialization and merging of JSON Attachment
I have a requirement 2 merge old and newly created JSON attachment. There are no duplicates. The JSON have below format :
{
"productConfigurationId": "a06cdeghijklmnoABC",
"attributesByAttrDefId":...
2
votes
2answers
531 views
How to create a reusable picklist component
I have created a lightning web component which is a pick-list. My intention is to pass objectApiName and fieldApiName as parameters and then render UI accordingly. So that I can reuse this component ...
-1
votes
1answer
523 views
unable to get dynamic picklist values in lightning:select [closed]
I'm writing a lightning component that create rows dynamically and there a field to display picklist values in it. Currently my issue is that, though the values are getting fetched as expected, I'm ...
2
votes
3answers
527 views
Dynamic Flag for Deep Linking MC-Deep-Link
We use the "mc-deep-link" tag in our href to ensure we are either pushing our customer into our App environment or to our website if the app doesn't support that specific link. All our links are ...