Questions tagged [dynamic]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
21 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
53 views

Issues with Dynamic Sender Profile

I'm having a tough time setting up a dynamic sender profile for just the sender name. I have 3 different data extensions needed to pull the information together. "CLM Call Data Filtered" is ...
0
votes
1answer
22 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
20 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
53 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
34 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
40 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
32 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
9 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
40 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
39 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,...
0
votes
1answer
261 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
10 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
22 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
79 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
47 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
33 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
54 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
112 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
25 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
36 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
40 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-...
0
votes
2answers
380 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
61 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
69 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
36 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
16 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
0answers
111 views

CPQ Product Rule - Dynamically Pick Product?

Lets say we have 2 flavors of our Software Bundle. Bundle A and Bundle B. Both Bundles include a Feature called "SMS Services", with 7 flavors of SMS as Product Options in that Feature. We'll call ...
0
votes
1answer
29 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
85 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
125 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 ...
0
votes
0answers
28 views

Update Dynamic Email content in a Journey

I am working on a Journey with the following specs: Journey Entry: all customers new and existing who are active and opted in Journey Duration: 61 days Email content: Dynamic content Number of Emails ...
2
votes
0answers
23 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
433 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
323 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
2answers
265 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 ...
0
votes
1answer
38 views

Dynamic rows in lightning component throwing error

I'm trying to create a lightning component that will add and delete rows. I followed a tutorial available online and here is my code. Component: <aura:component controller="testCntrlr"> &...
1
vote
0answers
333 views

example for banning functions in $A.createComponent after Spring'19

Could someone share a piece of code that will stop working after the critical update "Prevent Creation of Function Expressions in Dynamically Created Aura Components" will be activated? I'm not quite ...
3
votes
2answers
250 views

Any way to create an aura:if component dynamically?

Is it possible to create an aura:if component having a isTrue evaluating dynamically to the value of an attribute? I've tried the following and I'm getting a checkbox that is visible regardless of ...
2
votes
3answers
5k views

How can I dynamically load a static resource image in LWC?

I am trying to dynamically load an image from a static resource within LWC. When the user loads the page, a query parameter is provided called locationCode. Depending on the locationCode, a different ...
0
votes
0answers
72 views

insert attachment getcontentaspdf not loading data dynamically

I have a method that call a vf page and render as pdf the following Pagereference test = new Pagereference ('/apex/claire'); return test; that gives me the page I am expecting after that the ...
0
votes
1answer
220 views

How to track Dynamic Content Block?

Is there a new way (or better way) to retrieve the tracking of the Dynamic Content blocks from an Email without using impression tracking? I saw there are few posts about this topic but from many ...
1
vote
0answers
165 views

Add Salesforce Compact Layouts to Custom Dynamic Lightning Component

We are trying to use some of the standard LEX functionality for a Custom Dynamic Lightning Component. We have a custom lightning component where a user would choose one of 5 objects (but could end ...
3
votes
2answers
652 views

New Picklist Values added via Metadata API stay inactive

I am using the Metadata API wrapper from https://github.com/financialforcedev/apex-mdapi to dynamically add picklist values to an existing field. @Future(Callout=true) private static void ...
0
votes
1answer
423 views

AMPScript For Loop Dynamic Variable

I am trying to get a dynamic variable set inside a script block with AMPScript. Here is what I got: FOR @i = 1 to 5 DO TreatAsContent( Concat( "SET @Test", @i, " = ", 'some value' ) ) NEXT @id ...
1
vote
1answer
291 views

Add one item per line using aura: iteration and lightning button

Clicking an "add" button would like the lines below to be always added one below the other. Today I have a problem in which two items are added per line. Right way: Como está hoje (errado): My ...
1
vote
1answer
127 views

Populate Contact Information using Selenium

I am very new to Selenium. Basically i need to populate the fields below using selenium web-driver in Visual Studio. Because of the lightning components i am having trouble using XPath. Need help ...
0
votes
1answer
354 views

How to make dynamic picklist?

I have one custom object Backlog and I have one picklist field Full_Name_of_the_Specialist__c which is having manually inserted all the Names of the Specialist profile. Now when new employee come, I ...
2
votes
1answer
80 views

Refer to a dynamic variable on a link

I'm facing an issue since yesterday. I wanted to test the fact that, within a FOR loop, i'm able to dynamically create variables for each link. A quick example: %%[ For @u = 1 to 10 do Set @row = ...
0
votes
0answers
360 views

Create dynamic rest api url in apex

I have a requirement where I have 4 fields in which a user will fill phone numbers. On clicking save it will make a Rest API call. The 4 phone numbers have to go in an array in the URL as shown below. ...

1
2 3 4 5