Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dynamic]

The tag has no usage guidance.

0
votes
0answers
9 views

Folder accessible to non admin but not dynamic report

I created dynamic report in an folder and linked in custom button. Non admins were given viewer permission for the folder. However, it is not accessible via custom button. Am I missing something here? ...
0
votes
1answer
20 views

Lighting:tabset rendering tabs in “more” drop down when tabs are populated dynamically even though it has enough space to display all tabs

My expected result should be, all tabs display in one line with out "more" option by using dynamic code. When i tried dynamic code, Tabset displays only 3 names and rest of them in more option as ...
0
votes
0answers
11 views

Why are filter values not passed from the URL in dynamic report filters?

This is a user-specific issue, I checked a user from the same profile but the filters are passed for him. I checked all the field level permissions and roles, they're exactly same with users for whom ...
1
vote
1answer
34 views

Dynamic report through custom link- formatting

I am using Dynamic reports through custom link URL https://xxx.my.salesforce.com/00Om0000000dka3?pv0={!Contact.Contact_Playhouse__c}&pv1={!Contact.Id} The report appears as below onclick of ...
1
vote
2answers
52 views

Dynamic Sender Profile not working - Marketing Cloud

I am trying to implement a dynamic sender profile. I have followed instructions from answers on similar questions on stack exchange. From what I understood this should work. However, every time I do a ...
1
vote
1answer
18 views

Can <lightning:flow> be nested inside of </aura:iteration>, getting Uncaught Error in $A.getCallback() [Cannot read property 'startFlow' of undefined]

Trying to display more than one flow in the lighting component. Name of the flow will be passed by apex class <lightning:tabset> <aura:iteration items="{!v.lsCustomTabs}" ...
0
votes
0answers
19 views

Dynamic Multi Step Approval Process?

I have 2 Record Types on Account OBject: ABC XYZ User A has ABC Record Type access and User X has XYZ Record Type access. When User A creates Account Record, User X also access the same record but ...
0
votes
2answers
64 views

Dynamically creating lightning:inputField with a div

Currently I have this loop which can dynamically create a lightning:inputField: for(var i = 0; i < editFieldsToRender.length; i++) { $A.createComponent ( "...
0
votes
1answer
115 views

Lightning Component : ui:inputSelectOption : When Default value is set dynamically, user can't change Picklist value

I am working on a Multi-Location Case creation component for our community site. The basic premise is that we use Account Contact Relationships to relate a single User/Contact to multiple accounts. ...
0
votes
0answers
22 views

Dynamic From Name and From Email for Salesforce Trigger Send using Marketing Cloud Connector

I have an urgent requirement to show Dynamic From Name and From Email in Marketing Cloud for Trigger Sends created in Sales cloud. We have to leverage the Marketing Cloud Connector to minimize the use ...
7
votes
1answer
934 views

Dynamically create a lightning component and put it into a custom lightning component

Is it possible to dynamically create a lightning component and put it into a custom lightning component? For example, I have the following custom lightning component: <aura:component> <...
0
votes
0answers
29 views

Dynamic copy questions

I need to add a new dynamic field for Marketing cloud. I am currently using %%First Name%% but I need to update it to %%CampaignMember:Common:FirstName%%. I want to ask: Is it possible? Is my ...
0
votes
1answer
131 views

ONSUCCESS event doesn't fire on dynamically created recordForm component

I'm trying to get the saved data from my recordForm component handling the onsuccess event but the controller's function handling the event is not triggered. I think this happens because my component ...
0
votes
2answers
23 views

To add a picture that changes according to the page!

How to Add the picture to the VF page that change its size dynamically according to the page size? If zoom in/out is done it should change itself?
0
votes
0answers
57 views

Dynamic AMP Script Sender Profile for Triggered Send

I want to dynamically change my Reply Email Address in the Sender Profile for a multilingual Triggered Send depending on the CountryID in my Triggered Send. For Example A country is DE; reply ...
0
votes
1answer
55 views

Cannot read property 'set' of undefined when List<String> return in ui:inputSelect

All I want to do is retrieve picklist options from a custom object and fetch the inputSelect element in a lighning controller. I am trying this way.. but I am getting an error.. If someone knows any ...
0
votes
1answer
401 views

in lightning component of aura iteration I want to limit of records to be displayed at 5 items per column

Please help me on how to display 5 records per column on aura iteration in lightning component. Let's say I have 10 records from Account object I want to display 5 records per column dynamically so ...
2
votes
1answer
74 views

'onchange' Attribute Failing for dynamically created lightning:radioButton

I am able to dynamically create a lightning:radioGroup component, but when I add the 'onchange' property it fails to render. As soon as I remove that property it works again. I get the same error with ...
1
vote
2answers
82 views

Are there any 3rd party sources that provide a dynamic weather forecast I can embed in SFMC email?

I'm looking for an easy and affordable way to embed a dynamic weather forecast in an email campaign. Can anyone recommend a service or is there a way to do it with ampscript?
0
votes
3answers
1k views

Apex - How to pass dynamic value to json?

Below is a string which I want to dynamically pass to Json: String username = 'IntegrationUser' Below is the json format wherein I want to pass username. But this does not work. String payload = '...
3
votes
1answer
206 views

Visualforce Email Templates Dynamic Subject Child Object

I have looked through a number of different threads and haven't found any clear answers to populating a child object's value in the subject of a Visualforce Email Template. I want to populate the ...
0
votes
1answer
340 views

How can I dynamically create aura:attribute?

I would like to dynamically create components from other component. The thing is that, if any of those child components use events, I'd like to create the needed aura:attributes to store the info. ...
2
votes
2answers
716 views

Action failed: lightning:button$controller$handleClick [d.run is not a function]

I have a lightning component called modal which is used in another component called Split, the modal takes an array of buttons to render them (and does some more) I have a working version of it in ...
1
vote
3answers
265 views

Marketing Cloud breaking our Ampscript with HTML code

We have a lot of automated emails set up in Marketing Cloud which are used in journeys, triggered sends etc. Most of them are built in Content Builder. We came in this morning to find several journey ...
5
votes
1answer
740 views

Dynamic Lightning Input Component?

I have a custom Lightning component which is a simple input form with the Contact fields(required). Obviously the controller class has an insert statement for the Contact sObject. Is there a way I ...
0
votes
1answer
131 views

Randomize dynamic content blocks

I have one dynamic content block that is filtered off a field in a data extension, but another that I want to be a random selection of 2 options. Sort of an A/B test, if you will. Is there a way to ...
0
votes
1answer
856 views

How to filter a list of records on clietndside based om checkbox criteria

I have tried using filters in a lightning component which filters records based on criteria. How can I toggle the filter based on true or false of a checkbox. The issue I have currently is when ik ...
0
votes
0answers
168 views

Dynamic language attribute assignment on visualforce component

Following scenario: A visualforce page is full of custom labels which are rendered according to the language of the logged in user. In a portion of this page some controller variables should be ...
1
vote
1answer
74 views

Trying to set a record's value based on a field via string. Is this dynamic approach possible in Salesforce?

Apologies if this was already answered, but I didn't see a clear cut solution for this issue in Salesforce. I want to be able to dynamically set values for a record based on a predefined list of ...
1
vote
1answer
209 views

Compare same Object types dynamically

How to compare two types of objects (NOT SOBJECTS) at runtime? Example: Object ob1 = (String)'ab'; Object ob2 = (String)'ab'; Apparently if I debug ob1==ob2 gives me false. (false statement, see ...
1
vote
2answers
513 views

Dynamic Sender Profile not working

I would like to automatically fill the "From Name" field of our sender profile. Using AMPScript i created a new Sender Profile with %%=v(@FromName)=%% in my "From Name" field. Then in my template-...
4
votes
1answer
117 views

Lightning components - expressions in styling issue

I have a custom popup component for displaying help text near form fields. I wanted to make it more dynamic - make the position of the nubin a component attribute. And Now I'm facing a strange ...
0
votes
1answer
256 views

Remove special character in javascript for a dynamic value

I have a javascript method $(document).ready(function() { pageViewed('{!currentName} - Detail Page'); Here currentName can have special characters like a single quote. Is there ...
2
votes
1answer
667 views

ComponentService.createComponents(): 'callback' must be a Function pointer. : false

I want to be able to call $A.createComponents(type, attribute, calllback); with values in an array. SF doc I am following: Dynamically Creating Components. But the obvious value of this would be to ...
4
votes
2answers
341 views

Can't access values of list attribute reference of dynamically create Lightning component

I am creating this Lightning component: <aura:component> <aura:attribute name="record" type="Account" /> <aura:attribute name="recordList" type="Account[]" /> ... </aura:...
0
votes
1answer
99 views

Dynamic Content - based on date

I'm reading up on dynamic content and it all seems to be based only on subscriber attributes or DE/audience attributes. Is there a way to have X number of dynamic content blocks that cycle through ...
0
votes
1answer
878 views

How to get Reference field value for lightning:datatable data attribute

I'm creating the lightning:datatable dynamically and passing the data by querying from contact object, and I have a parent Account.name field in the SOQL query and I have specified the field Account....
2
votes
2answers
905 views

Aura:if use a function as expression

I wish to check a condition inside an aura:iteration. The condition should be dynamically set according to the current item in the iteration. I'm trying to achieve the following : <aura:if isTrue=...
0
votes
2answers
1k views

lightning dynamic component datatable onclick/onrowselection

I have a lightning component that dynamically creates a lightning:datatable when apex returns a list of records. For the most part its working, but im trying to add an onclick event to the row, but ...
0
votes
1answer
176 views

Impression tracking on dynamic content block with amp script

I want to add Impression tracking to a dynamic content block that is added with amp script. So the dynamic content block looks like this in our email template: %%=ContentAreaByName("my contents\...
0
votes
2answers
905 views

cannot access aura:id of dynamically created Lightning Element [duplicate]

When I click on lightning:button(Create), I am able to dynamically create lightning:input element from js controller but When I click on lightning:button(Set Value), I am not able to set value for the ...
0
votes
0answers
138 views

Need to create array of Lightning elements dynamically

I have some scenario here, When I click on lightning:button, I need to create the lightning elements dynamically inside <div aura:id="dynamicLtngElms"></div> wherein elements are coming ...
2
votes
1answer
103 views

Dynamic Component issues

I am creating a component on click of button using $A.createComponent, which is inside a parent component. <aura:component> <aura:attribute name="displayNoResults" type="Boolean" default="...
5
votes
0answers
197 views

Dynamically created selectOptions not appearing in dynamically created inputSelect from FieldSet

I'm creating components from a fieldset, which means determining that a field in the set is a picklist in real time, then creating that inputSelect dynamically, and then creating the ...
0
votes
1answer
40 views

Why don't changes made to content blocks in dynamic content update automatically?

I have an email with a dynamic content block that has 10 rules and 10 associated content blocks. When I make a change to any of the associated content blocks the content doesn't update in the dynamic ...
0
votes
1answer
351 views

Dynamic link is not working after email sent (gmail, outlook..etc)

We have built a dynamic link for subscriber, below is script and html i used SET @Mid = field(@row,"Meeting_id") Set @FURL = CONCAT('http://www.abc.fr/xyz/meetings/v3/','?meetingId=',@Mid) ...
0
votes
2answers
72 views

How do you avoid values to duplicated?

I'm looking into a DE of past customers transaction, all transactions that contain samples are retargeted with their parent product. In my an email, I'm trying to display up to 4-3 parent products ...
0
votes
1answer
112 views

Can we use Ampscript in Html email body to collect multiple click details?

We have set of journey flow which has decision split for click on all links based on that activity another email will be deployed. But we have to add dynamic field values after click decision split ...
1
vote
0answers
299 views

How to dynamically query in Remote Object Model?

See my code comments in my controller for what I'm trying to do. This article might help as well: Overriding Default Remote Objects Operations Page <apex:page> <apex:remoteObjects &...
0
votes
0answers
471 views

Changing picklist value OnClick

I am new to Lightning and Salesforce. I have created a dynamic picklist which will show the active users. Now I want to select one of the users and hat user should be displayed as default value. this ...