• Sahil Yadav 4
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Hello Commmunity , 
I will be working on some flow scenario where i will be getting this error not able to figured it out why is creating a problem.
So ideally on account obj there is one picklist fields self identified segment which consist of different value and depend on the selection it must create an account team member records for that account .
Error :- UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 563564926-7897 (603267144)

User-added image




User-added image





So only for recycler value it wont be creating Account Team Member Record else for other values i creating account team member Record.

User-added imageAny Suggestion or any thought on this just let us know....
User-added image




An above Image is custom component which holds certain value of a country now I needed that just next to an individual values ,countries flag should be get visible how couuld we achieve this not sure...
any suggestion would be appreciable.

Note :-
Combo box values 

1. USA    (USA Flag)
2. CANADA    (Canada Flag)
3. UK (Uk Flag)
 
This is COmponent Code :- 



<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
	<aura:attribute
        name="modes"
        type="List"
        default="[
                 {'label': 'None', 'value': 'none'  } ,
                 {'label': 'UK', 'value': 'uk'  } ,
                 
         
    {'label': 'CANADA', 'value': 'canada'},
    {'label': 'USA','value': 'us'},
    ]"
    />
    <lightning:card  class="slds-align_absolute-center" title="SELECT COUNTRY">
        
        <lightning:layout horizontalAlign="center" multipleRows="true">
            <lightning:layoutItem padding="around-small" class="slds-align_absolute-center">
               
                <lightning:combobox
                    name="Country"
                    label="Game Mode"
                    value="inProgress"
                    variant="label-hidden"
                    aura:id="Country"
                    options="{!v.modes}"
                    placeholder="Select Countries"
                                    onchange = "{!c.handlechanged}"
                                     
                />
            </lightning:layoutItem>
        </lightning:layout>
    </lightning:card>
</aura:component>

 
Hello Developers,
 I had one aura comp which holds 3 dropdown values  and my requirement is on click of specific values some specific external sites should be get opened up .



User-added image





  
So the above is component which hold three value such as canada , uk, usa and on click different page or site should be get opened up sharing the code please suggests where i did wrong..
 
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
	<aura:attribute
        name="modes"
        type="List"
        default="[
    {'label': 'UK', 'value': 'uk'},
    {'label': 'CANADA', 'value': 'canada'},
    {'label': 'Hard', 'value': 'hard'},
    ]"
    />
    <lightning:card title="SELECT COUNTRY">
        <lightning:layout horizontalAlign="center" multipleRows="true">
            <lightning:layoutItem padding="around-small">
                <lightning:combobox
                    name="gameMode"
                    label="Game Mode"
                    value="inProgress"
                    variant="label-hidden"
                    aura:id="gameMode"
                    options="{!v.modes}"
                    placeholder="Select Game Mode"
                />
            </lightning:layoutItem>
        </lightning:layout>
    </lightning:card>
</aura:component>







Js


({

    navigate : function(component, event, helper) {

    //Find the text value of the component with aura:id set to "address"
    var address = component.find("gameMode").get("v.value");

    var urlEvent = $A.get("e.force:navigateToURL");
    urlEvent.setParams({
      "url": 'https://www.google.com/maps/place/' + address
    });
    urlEvent.fire();
}
})


 
Hello Developer,
I had a requirement in my main landing page I want the option for the regions and based on region click by user it should open that respective country pages User-added image

how could we acchieve this ? any suggestions
 
Hello Commmunity , 
I will be working on some flow scenario where i will be getting this error not able to figured it out why is creating a problem.
So ideally on account obj there is one picklist fields self identified segment which consist of different value and depend on the selection it must create an account team member records for that account .
Error :- UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 563564926-7897 (603267144)

User-added image




User-added image





So only for recycler value it wont be creating Account Team Member Record else for other values i creating account team member Record.

User-added imageAny Suggestion or any thought on this just let us know....
Hello Developer,
I had a requirement in my main landing page I want the option for the regions and based on region click by user it should open that respective country pages User-added image

how could we acchieve this ? any suggestions