Questions tagged [dynamiccomponent]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
71 views

Aura:iteration takes more time to load

I am creating a dynamic grid (table) with more than 10 rows and 10 columns, Displaying the record and editing. My question is server side takes say 2 seconds to load the data(querying data with 10-...
1
vote
1answer
62 views

Use AMPscript to create dynamic math calculation of a reduction price

How could I write AMPScript for this basic calculation below? I would like to calculate the price after the reduction Example: Price = 65000 Reduction = 30% Reduction Price = 65000 -((65000*30)/100)...
1
vote
1answer
652 views

lightning progressStep not able to set step when dynamically created

I am dynamically creating a progress bar, however, when attempting to set the current step, if my components are dynamically created, they are never set to the step I indicate. Seems to only work If ...
1
vote
1answer
617 views

Passing id between 2 lightning components

I have two separate components, I want to pass the survey id after saving to create the questions with the same survey id. here is the screenshot of survey form : and my code for survey component ...
-1
votes
1answer
31 views

Lead Convert guarantees Contact Attribution on Opportunity. How to guarantee it when Opportunity is created from Standard Contact Detail Page?

Here are options, examples, my comments, and my requirement for different approaches to creating Opportunities from the Standard Contact Detail Page. I am looking for help with option 3. I need to "...
1
vote
0answers
111 views

force:outputField does not generate in dynamic component

I'm trying to use force:outputField in dynamic generate component and it does not work. When I place console.log messages, I do not see any message in console. My code is $A.createComponent(...
0
votes
2answers
133 views

Using Global variables inside of Custom Metadata with Visualforce page Modal

What are design options for the following requirements? End user specifies the text of a Modal window to be something like: Hello [User Full Name], Because you chose [Case.FieldA] goto this <a ...
6
votes
1answer
1k views

$A.createComponent fails with internal server on create aura:HTML with body

The following code fails: $A.createComponent( "aura:HTML", { tag: "div", body: 'value', HTMLAttributes:{"id": "Temp","class": "class name here"} }, ...
2
votes
1answer
377 views

Lightning Dynamic Component Init Action

I have a lightning component like below Dynamic.cmp: <aura:component controller="Mobile_Controller"> <aura:attribute name="testDate" type="String"/> <aura:handler name="init" ...
2
votes
2answers
515 views

How to iterate over pageblocktable dynamic component inside controller

All, I am trying to use dynamicComponent to build a PageBlockTable. In the controller I want to iterate over each element and perform certain operations. My VF page looks something like this <...
2
votes
1answer
1k views

Are toasts not generated in standalone app or in VF page?

I am dynamically creating a toast as shown below. This toast is created when response is received from server. I have created a component for toast and am dynamically creating it using $A....
4
votes
0answers
126 views

Dynamically injecting Visualforce markup into component

I have an issue where I am trying to render a component on a VF page where I don't know if the component exists in the org or not until run time (I am trying to use a dynamic component on the front ...
1
vote
0answers
85 views

How to access dynamically created component

I have added a component dynamically "ChildContainer" in a div's body. Now I want to access it and want to add again a new component dynamically to the newly create component. Main Component Markup: ...
1
vote
1answer
535 views

Onclick of related list show more link, it's redirect to home page. while using apex:relatedlist and salesforce global variable action

So let me explain my issue. We have a custom object example custom_object__c. We decided to override the detail page using our custom VF page. SO we have one more VF page that will be home page of ...
3
votes
2answers
907 views

Getting a VF component dynamically by name in Apex

I am trying to use Apex to control which component to show inside a <apex:dynamicComponent> but I don't want to hardcode the component names. So my question is, how can I reference the component ...