• vijay kumar k
  • NEWBIE
  • 160 Points
  • Member since 2018

  • Chatter
    Feed
  • 3
    Best Answers
  • 0
    Likes Received
  • 2
    Likes Given
  • 45
    Questions
  • 62
    Replies
I have a 2 component.  I want to send the attribute value from the parent to child.  The attribute value is update after a record is created(I am pulling the record id back to the component).  But the attribute value shows undefined when use the second componen so that tells me that the attribute value is not getting updated.
I am referencing the second compont like this
<c:childcmp pcmpId="{!v.parentid}"/>

The child comp needs the parent id so whatever is the best way to get the parent id to the child component please advise.  I have tried events and have been not been succesful.
Thanks,
P
Hi All

We have implemented SSO in salesforce. Salesforce as a Service Provider and Other tool as a Identity Provider long back ago. So now the identity provider got expired. For that they given us new file which in xml format.
So we are trying to update the file in salesforce where setup>single signon setting>edit on old sso>chose file at Identity Provider Certifice. Here I'm facing common issues.
1. The uploading file too big.
2.The uploading file not a certificate.

Now I have original xml file(which is given by other team) size of 70 kb, salesforce supports only 4kb as per document. If more than 4kb they telling convert to DER Encoded format. I'm not aware of DER Encoded format. There is no direct online converter also.

Guys plese help me on three things.
1. Where should i uplode new file.
2.If sso settings is correct place , tell me how to convert to DER Converted.
3.What kind of formats salesforce should supports.

If had experince on sso please suggest best practices. 

Thaks in advance
HI Team

Any one have experience in marketing cloud managed package?

We have a installed managed package for using marketing cloud in salesforce. So first we are creating triggersends in salesforce and once activated here in marketing cloud triggersend are automatically created. In the same way once we update any field value of triggersend recod in salesforce it will automatically gets updated in marketing cloud.

Now I'm facing issue 'Since you've previously selected a From Name/Email Address, it can't be deselected. Choose a From Name/Email Address override and save again.' when trigger Send is try to update . 

Steps to reproduce open triggersend record and edit with automationemil form(vf page using this page only we are creating trigger send in salesforce so if we want to update also we have to come here and update) and change any value and click save this issue is coming in my org.

Any ideas to resolve this. 
Hello developers


PFA error I'm facing while composing email from satadard email composer in lightbing. it's not more that 200 characters i given in body , but i'm getting errror.
 
HTML Body: data value too large: <html> <head> <title></title> </head> <body style="height: auto; min-height: auto;"><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=ProgId content=Word.Document><meta name=Generator content="Microsoft Word 15"><meta name=Originator content="Microsoft Word 15"><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-IN</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:EnableOpenTypeKerning/> <w:DontFlipMirrorIndents/> <w:OverrideTableStyleHps/> </w:Compatibility> <m:mathPr> <m:mathFont m:val="Cambria Math"/> <m:brkBin m:val="before"/> <m:brkBinSub m:val="&#45;-"/> <m:smallFrac m:val="off"/> <m:dispDef/> <m:lMargin m:val="0"/> <m:rMargin m:val="0"/> <m:defJc m:val="centerGroup"/> <m:wrapIndent m:val="1440"/> <m:intLim m:val="subSup"/> <m:naryLim m:val="undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="false" DefSemiHidden="false" DefQFormat="false" DefPriority="99" LatentStyleCount="371"> <w:LsdException Locked="false" Priority="0" QFormat="true" Name="Normal"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name... (max length=32000)



 

Hi team , 

Today my client asked me to generate a report to show case number with daily status. The follwing screen shot is the format of the report. I have tried my end but I'm not able to acheive.In screenshot shows header is dates of month and 1st column case numbers and remaing is case status values as per date .

please help me guys.
Thanks in advanceSee this Screen shot
Hi developers
I developed the entitlement process with milestones based on case status criteria. Means every status one milestone is there as per requirement. So that case staus is reached to milestone criteria milestone getting started.
Here I did not notice one thing i.e when I changed the case status it will pick milestone right but no running milestone information is stored of before changing case status milestone because that milestone does not update to milestone complete that's why no milestone data is not stored anywhere.

Now I resolved this issue using trigger I'm updating running milestone as completed (once the milestone has completed, this milestone data as stored at casemilestone so no problem for me).

Finally, my question is previously milestone data is not stored right.how do I retrieve previous milestones data of existing case (New milestone completion is trigger will take care of that)?

So I have one idea based case history planning to insert casemilestone records but system not allowing me to insert because only milestone start date and completion time only writable fields remaining all read-only.
What should I do, I want to show to a client this user taking this many hours to complete all milestones like that.
 
Hi 
I have created vf page with the help of slds documentation. i found below code at Lightning Design System Website. i just add apex tags.
Here table columns are not movable (i mean not resizable). I don't know why, i miss any thing or any require data add this table to work column resizable


Following is my vf code:

<apex:page >
    <meta>
    <apex:slds />
</meta>
<div class="slds-scope">
<table aria-multiselectable="true" class="slds-table slds-table_bordered slds-table_fixed-layout slds-table_resizable-cols" role="grid">
<thead>
<tr class="slds-line-height_reset">
<th class="slds-text-align_right" scope="col" style="width: 3.25rem;">
<span id="column-group-header" class="slds-assistive-text">Choose a row</span>
<div class="slds-th__action slds-th__action_form">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-9" tabindex="0" aria-labelledby="check-select-all-label column-group-header" value="checkbox-9" />
<label class="slds-checkbox__label" for="checkbox-9" id="check-select-all-label">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select All</span>
</label>
</div>
</div>
</th>
<th aria-label="Name" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col" style="width: 300px;">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Name">Name</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Name column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-15" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Account Name" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Account Name">Account Name</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Account Name column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-16" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Close Date" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Close Date">Close Date</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Close Date column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-17" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Stage" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Stage">Stage</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Stage column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-18" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Confidence" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Confidence">Confidence</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Confidence column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-19" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Amount" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Amount">Amount</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Amount column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-20" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Contact" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Contact">Contact</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Contact column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-21" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th class="" scope="col" style="width: 3.25rem;">
<div class="slds-truncate slds-assistive-text" title="Actions">Actions</div>
</th>
</tr>
</thead>
<tbody>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-01" tabindex="0" aria-labelledby="check-button-label-01 column-group-header" value="checkbox-01" />
<label class="slds-checkbox__label" for="checkbox-01" id="check-button-label-01">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 1</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="Acme - 1,200 Widgets"><a href="javascript:void(0);" tabindex="0">Acme - 1,200 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="Acme">Acme</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="4/10/15">4/10/15</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Value Proposition">Value Proposition</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="30%">30%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$25,000,000">$25,000,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="jrogers@acme.com"><a href="javascript:void(0);" tabindex="0">jrogers@acme.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for Acme - 1,200 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for Acme - 1,200 Widgets</span>
</button>
</td>
</tr>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-02" tabindex="0" aria-labelledby="check-button-label-02 column-group-header" value="checkbox-02" />
<label class="slds-checkbox__label" for="checkbox-02" id="check-button-label-02">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 2</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="Acme - 200 Widgets"><a href="javascript:void(0);" tabindex="0">Acme - 200 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="Acme">Acme</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="1/31/15">1/31/15</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Prospecting">Prospecting</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="60%">60%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$5,000,000">$5,000,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="bob@acme.com"><a href="javascript:void(0);" tabindex="0">bob@acme.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for Acme - 200 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for Acme - 200 Widgets</span>
</button>
</td>
</tr>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-03" tabindex="0" aria-labelledby="check-button-label-03 column-group-header" value="checkbox-03" />
<label class="slds-checkbox__label" for="checkbox-03" id="check-button-label-03">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 3</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="salesforce.com - 1,000 Widgets"><a href="javascript:void(0);" tabindex="0">salesforce.com - 1,000 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="salesforce.com">salesforce.com</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="1/31/15 3:45PM">1/31/15 3:45PM</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Id. Decision Makers">Id. Decision Makers</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="70%">70%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$25,000">$25,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="nathan@salesforce.com"><a href="javascript:void(0);" tabindex="0">nathan@salesforce.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for salesforce.com - 1,000 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for salesforce.com - 1,000 Widgets</span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</apex:page>
Hi 
I created vf page with table using slds and i all table sample code from LDS documentation.It is not working in case of resizing the columns.

Following is my vf code:

<apex:page >
    <meta>
    <apex:slds />
</meta>
<div class="slds-scope">
<table aria-multiselectable="true" class="slds-table slds-table_bordered slds-table_fixed-layout slds-table_resizable-cols" role="grid">
<thead>
<tr class="slds-line-height_reset">
<th class="slds-text-align_right" scope="col" style="width: 3.25rem;">
<span id="column-group-header" class="slds-assistive-text">Choose a row</span>
<div class="slds-th__action slds-th__action_form">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-9" tabindex="0" aria-labelledby="check-select-all-label column-group-header" value="checkbox-9" />
<label class="slds-checkbox__label" for="checkbox-9" id="check-select-all-label">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select All</span>
</label>
</div>
</div>
</th>
<th aria-label="Name" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col" style="width: 300px;">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Name">Name</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Name column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-15" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Account Name" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Account Name">Account Name</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Account Name column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-16" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Close Date" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Close Date">Close Date</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Close Date column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-17" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Stage" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Stage">Stage</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Stage column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-18" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Confidence" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Confidence">Confidence</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Confidence column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-19" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Amount" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Amount">Amount</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Amount column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-20" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th aria-label="Contact" aria-sort="none" class="slds-is-resizable slds-is-sortable" scope="col">
<a class="slds-th__action slds-text-link_reset" href="javascript:void(0);" role="button" tabindex="0">
<span class="slds-assistive-text">Sort by: </span>
<div class="slds-grid slds-grid_vertical-align-center slds-has-flexi-truncate">
<span class="slds-truncate" title="Contact">Contact</span>
<span class="slds-icon_container slds-icon-utility-arrowdown">
<svg class="slds-icon slds-icon-text-default slds-is-sortable__icon " aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#arrowdown" />
</svg>
</span>
</div>
</a>
<div class="slds-resizable">
<input aria-label="Contact column width" class="slds-resizable__input slds-assistive-text" id="cell-resize-handle-21" max="1000" min="20" tabindex="0" type="range" />
<span class="slds-resizable__handle">
<span class="slds-resizable__divider"></span>
</span>
</div>
</th>
<th class="" scope="col" style="width: 3.25rem;">
<div class="slds-truncate slds-assistive-text" title="Actions">Actions</div>
</th>
</tr>
</thead>
<tbody>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-01" tabindex="0" aria-labelledby="check-button-label-01 column-group-header" value="checkbox-01" />
<label class="slds-checkbox__label" for="checkbox-01" id="check-button-label-01">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 1</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="Acme - 1,200 Widgets"><a href="javascript:void(0);" tabindex="0">Acme - 1,200 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="Acme">Acme</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="4/10/15">4/10/15</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Value Proposition">Value Proposition</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="30%">30%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$25,000,000">$25,000,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="jrogers@acme.com"><a href="javascript:void(0);" tabindex="0">jrogers@acme.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for Acme - 1,200 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for Acme - 1,200 Widgets</span>
</button>
</td>
</tr>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-02" tabindex="0" aria-labelledby="check-button-label-02 column-group-header" value="checkbox-02" />
<label class="slds-checkbox__label" for="checkbox-02" id="check-button-label-02">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 2</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="Acme - 200 Widgets"><a href="javascript:void(0);" tabindex="0">Acme - 200 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="Acme">Acme</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="1/31/15">1/31/15</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Prospecting">Prospecting</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="60%">60%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$5,000,000">$5,000,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="bob@acme.com"><a href="javascript:void(0);" tabindex="0">bob@acme.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for Acme - 200 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for Acme - 200 Widgets</span>
</button>
</td>
</tr>
<tr aria-selected="false" class="slds-hint-parent">
<td class="slds-text-align_right" role="gridcell">
<div class="slds-checkbox">
<input type="checkbox" name="options" id="checkbox-03" tabindex="0" aria-labelledby="check-button-label-03 column-group-header" value="checkbox-03" />
<label class="slds-checkbox__label" for="checkbox-03" id="check-button-label-03">
<span class="slds-checkbox_faux"></span>
<span class="slds-form-element__label slds-assistive-text">Select item 3</span>
</label>
</div>
</td>
<th scope="row">
<div class="slds-truncate" title="salesforce.com - 1,000 Widgets"><a href="javascript:void(0);" tabindex="0">salesforce.com - 1,000 Widgets</a></div>
</th>
<td role="gridcell">
<div class="slds-truncate" title="salesforce.com">salesforce.com</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="1/31/15 3:45PM">1/31/15 3:45PM</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="Id. Decision Makers">Id. Decision Makers</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="70%">70%</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="$25,000">$25,000</div>
</td>
<td role="gridcell">
<div class="slds-truncate" title="nathan@salesforce.com"><a href="javascript:void(0);" tabindex="0">nathan@salesforce.com</a></div>
</td>
<td role="gridcell">
<button class="slds-button slds-button_icon slds-button_icon-border-filled slds-button_icon-x-small" aria-haspopup="true" tabindex="0" title="More actions for salesforce.com - 1,000 Widgets">
<svg class="slds-button__icon slds-button__icon_hint slds-button__icon_small" aria-hidden="true">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#down" />
</svg>
<span class="slds-assistive-text">More actions for salesforce.com - 1,000 Widgets</span>
</button>
</td>
</tr>
</tbody>
</table>
</div>
</apex:page>
I want to  know how exactly Automated User Provisioning works and let's consider  i proveded single sign on authentication for third party, in this case if user login to their web it will redirect to salesforce based user credentials(if that user not in salesforce in this case user will be created and redirect to salesforce) similarly group filter where in a group of users can authenticated their web and automatically user need to created in Salesforce, and suppose if an user is removed from the group the corresponding user has to be deactivated in Salesforce.   
I have 4 public groups and i have one report folder with 4 report subfolders. Here i'm unable to give access to different levels with different groups. I mean out of 4 groups access only one of the subfolder. In lightning, share shows  access all subfolders at a time .How could i give them to this type of permissions
ERROR: Make sure you moved the correct fields from the Information section to the Candidate Rating section.

In the trailhead  (Improve Data Quality for a Recruiting App -unit3)  i create all fields correctly and add in page layout correctly i do not know why showing error message while checking the challenge.
 can anyone tell me if this required any extra changes?

Thanks in advance  
In the trailhead  (Improve Data Quality for a Recruiting App -unit3)  i create all fields correctly and add in page layout correctly i do not know why showing error message while checking the challenge.
 can anyone tell me is this required any extra changes.

Thanks in advance  
Let's take example: Lightning component page have one picklist with values of all account names.I want information about that selected value like Name,age,phone,email and address etc. in below of picklist. 
How could i write code for this. Please post your code for future reference

Thankyou

When to use Communities and When to use Sites in Salesforce?
Insert creditcard records using visualforce page.In page use java script to validate fields like Cardnumber must 16digits ,pin number must 4digits and insert only checkbox(active__c) is true.Below i mention object details. 

Custom object:Credit_Card__c
Fields:
Name=Credit_Card_Number
Lookup=Contact_name__c
Number=Pin__c
Checkbox=Active__c

as per my knowledge i build this vf page but from that apex method is not calling .Is there any mistake i return there .
Here i post my code ,please check and replay the best
Thankyou

VF Page:
<apex:page standardController="Creadit_Card__c" extensions="CreditCard_Creation">
    <apex:includeScript value="{!URLFOR($Resource.jquery)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jqueryui)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jqueryuimin)}"/>
    <script>
    j$=jquery.noConflict();
    if(j$){
        alert('Jquery loaded successfull....');    
    }
    function checkallfields()
    {
        
        var card=j$('[id$=cardnumber1]').val();
        var pin=j$('[id$=pin1]').val();
        var clength=card.length;
        var n = pin.toString();
        var n1=n.length;
        if(clength==16 && n1==4){
            ready();
        }
        else{
            alert('Check Card Number or Pin Number are correct values')
        }
        
    }
    </script>
    <apex:form id="f1">
        <apex:pageBlock title="Creadit Card" id="pb1">
            <apex:pageBlockSection id="pbs1">
                <apex:inputField id="Contactname1" value="{!Creadit_Card__c.Contact_Name__c}" required="true"/>
                <apex:inputField id="cardnumber1" value="{!Creadit_Card__c.Name}"/>
                <apex:inputField id="pin1" value="{!Creadit_Card__c.PIN__c}"/>
                <apex:inputCheckbox id="checkbox1" value="{!Creadit_Card__c.Active__c}" required="true"/>
            </apex:pageBlockSection>
            <apex:commandButton value="save" onclick="checkallfields()" />
            <apex:actionFunction name="ready" action="{!saverecord}"/>
            <apex:pageMessages ></apex:pageMessages>
        </apex:pageBlock>
    </apex:form>
</apex:page>

Apex Class:
public class CreditCard_Creation {
    public Creadit_Card__c chkcardValues{set;get;}
    public CreditCard_Creation(ApexPages.StandardController controller) {
        chkcardValues=(Creadit_Card__c)controller.getRecord();
    }
  
  
    public pagereference  saverecord(){
        list<Creadit_Card__c> cardslist=[select name from Creadit_Card__c where name=:chkcardValues.Name];
        if(chkcardValues.Active__c==true){
            if(cardslist.size()==0){
            insert chkcardValues;
            }else{
                ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Error,'This card number is already existed'));
            }
        }else{
            ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.Error,'please select active'));
        }
             pagereference redirect=new pagereference ('/'+chkcardValues.id);
        if(chkcardValues.id!=null){
             return redirect;
        }
        return null;
    }
}
Insert creditcard records using visualforce page.In page use java script to validate fields like Cardnumber must 16digits ,pin number must 4digits and insert only checkbox(active__c) is true.Below i mention object details. 

Custom object:Credit_Card__c
Fields:
Name=Credit_Card_Number
Lookup=Contact_name__c
Number=Pin__c
Checkbox=Active__c
Hi
here i have Registration(parent) and Faculty(child).I want to show Faculty names under same registration on parent field(Faculty_Names__c).
I already wrote code but it doesen't work delete event that too parent field shows only deleted name when i was test it.
please correct me where i was wrong or send me correct/related code.
 ThankYou

trigger Display_Faculty_Names on Faculty__c (after insert,after update,after delete,after undelete) {
    set<id> regiids=new set<id>();
    List<Registration__c> RegiList=new List<Registration__c>();
    Map<id,Registration__c> regiMap=new map<id,Registration__c>();
    if(trigger.isinsert || trigger.isupdate || trigger.isundelete){
        for(Faculty__c f1:trigger.new){
            if(f1.RegistrationId__c!=null){
                regiids.add(f1.RegistrationId__c);
                if(trigger.isupdate){
                    if(trigger.oldmap.get(f1.id).RegistrationId__c!=f1.RegistrationId__c){
                        regiids.add(trigger.oldmap.get(f1.id).RegistrationId__c);
                        regiids.add(f1.RegistrationId__c);
                    }
                }
            }
        }
    }
    if(trigger.isdelete){
        for(Faculty__c f1:trigger.old){
            regiids.add(f1.RegistrationId__c);
            system.debug('trigger.old'+trigger.old.size());
        }
    }
    RegiList=[select id,name,Faculty_Names__c from Registration__c where id=:regiids];
    for(Registration__c a:RegiList){
        regiMap.put(a.id,a);
    }
    if(trigger.isinsert || trigger.isundelete){
        for(Faculty__c f:trigger.new){
            if(regiMap.containsKey(f.RegistrationId__c)){
                Registration__c r=regiMap.get(f.RegistrationId__c);
                if(r.Faculty_Names__c==null){
                    r.Faculty_Names__c=f.Name;
                }else if(!r.Faculty_Names__c.containsIgnoreCase(f.Name)){
                    r.Faculty_Names__c+=','+f.Name;
                }
                regiMap.put(f.RegistrationId__c,r);
            }
            
        }
        if(regiMap.values().size()>0)
            update regiMap.values();
    }
    List<AggregateResult> aggresult=[Select count(id) countid,RegistrationId__c,Name from Faculty__c Group By RegistrationId__c,Name];
    if(trigger.isupdate){
        for(AggregateResult agg:aggresult){
            string rid=String.valueOf(agg.get('RegistrationId__c'));
            string fname=String.valueOf(agg.get('Name'));
            if((trigger.oldmap.get(agg.id).RegistrationId__c != agg.get('RegistrationId__c')) || trigger.oldmap.get(agg.id).Name != agg.get('Name')){
                if(regiMap.containsKey(rid)){
                    Registration__c r=regiMap.get(rid);
                    if(r.Faculty_Names__c==null){
                        r.Faculty_Names__c=fname;
                    }else if(!r.Faculty_Names__c.containsIgnoreCase(fname)){
                        r.Faculty_Names__c+=','+fname;
                    }
                    regiMap.put(rid,r);
                }
                if(regiMap.containsKey(trigger.oldmap.get(agg.id).RegistrationId__c)){
                    integer facid=integer.valueof(agg.get('countid'));
                    Registration__c a=regiMap.get(trigger.oldmap.get(agg.id).RegistrationId__c );
                    if(facid == 1){
                        if(a.Faculty_Names__c.contains(fname+',')){
                            a.Faculty_Names__c=a.Faculty_Names__c.remove(fname+',');
                        }else{
                            a.Faculty_Names__c=a.Faculty_Names__c.remove(','+fname);
                        }
                    }
                    regiMap.put(trigger.oldmap.get(agg.id).RegistrationId__c,a);
                }
            }
        }
        if(regiMap.values().size()>0)
            update regiMap.values();
    }
    if(trigger.isdelete){
        for(AggregateResult agg:aggresult){
            string rid=String.valueOf(agg.get('RegistrationId__c'));
            string fname=String.valueOf(agg.get('Name'));
            integer facid=integer.valueof(agg.get('countid'));
            if(regiMap.containsKey(rid)){
                Registration__c a=regiMap.get(rid);
                if(facid == 1){
                    system.debug('testfacultyname'+a.Faculty_Names__c);
                    if(a.Faculty_Names__c.contains(fname+',')){
                        system.debug('test2'+a.Faculty_Names__c);
                        a.Faculty_Names__c=a.Faculty_Names__c.remove(fname+',');
                    }else{
                        a.Faculty_Names__c=a.Faculty_Names__c.remove(','+fname);
                    }
                }
                regiMap.put(rid,a);
            }       
        }
        if(regiMap.values().size()>0)
            update regiMap.values();
    }
write batch class to update field(noofcontacts__c) value on account with No of Contacts under that account.
 
why error throws null object and plz help to solve this

vfpage:
<apex:page  controller="showallaccountsinvf">
    <apex:form>
        <apex:pageBlock >
            <apex:pageBlockSection title="accounts">
                <apex:pageBlockTable value="{!contactscount}" var="acon">
                    <apex:column headervalue="Name">
                        <apex:outputtext value="{!acon.acc.Name}"/>
                    </apex:column>
                    <apex:column headervalue="NUmber of Contacts">
                        <apex:outputtext value="{!acon.i}"/>
                    </apex:column>
                </apex:pageBlockTable>
            </apex:pageBlockSection>
        </apex:pageBlock>
    </apex:form>
</apex:page>
controller:
public class showallaccountsinvf {
    public map<id,account> accMap{set;get;}
    public list<wrappercontact> contactscount {set;get;}
    public showallaccountsinvf(){
        List<account> AccountList=[select id,name,contactslist__c from account];
        contactscount=new list<wrappercontact>();
        for(Account a:AccountList){
            accMap.put(a.id,a);
        }
        list<aggregateresult> aggrResults=[select count(id) countids,AccountId from contact where accountid =:accMap.keyset() group by accountid];
        for(aggregateresult agg:aggrResults){
            String acId=String.valueOf(agg.get('AccountId'));
            integer conid=integer.valueof(agg.get('countids'));
            Account a1=accMap.get(acId);
            contactscount.add(new wrappercontact(a1,conid));
            
            system.debug('@@@@@@@@'+acId+conid);
        }
    }
    public class wrappercontact
    {
        public Account acc{get;set;}
        public integer i{get;set;}
        
        Public wrappercontact(Account aa,integer j)
        {
            acc = aa;
            i = j;
        }
    }    
}
parent object: account
   fields : contact country - Picklist values: India, Africa, America
   child object : contact
   field : Contact Area - Picklist values: Karataka, Andhra Pradesh, Kerala, South Africa, Nigeria, Kenya, California, San Fransisco, Texas

   when contact is inserted / updated, based the contact's Contact Area field the parents contact Country should change with respected country. wirte a trigger for insert, Update.
hi 
i'm not understand the below error when click the 'check the challenge' of salesforce mobile app customization in unit of customize campact layout.
Help me overcome this error.

--------There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: EONTWHVZ--------


ThankYou
 
Hi All

We have implemented SSO in salesforce. Salesforce as a Service Provider and Other tool as a Identity Provider long back ago. So now the identity provider got expired. For that they given us new file which in xml format.
So we are trying to update the file in salesforce where setup>single signon setting>edit on old sso>chose file at Identity Provider Certifice. Here I'm facing common issues.
1. The uploading file too big.
2.The uploading file not a certificate.

Now I have original xml file(which is given by other team) size of 70 kb, salesforce supports only 4kb as per document. If more than 4kb they telling convert to DER Encoded format. I'm not aware of DER Encoded format. There is no direct online converter also.

Guys plese help me on three things.
1. Where should i uplode new file.
2.If sso settings is correct place , tell me how to convert to DER Converted.
3.What kind of formats salesforce should supports.

If had experince on sso please suggest best practices. 

Thaks in advance
HI Team

Any one have experience in marketing cloud managed package?

We have a installed managed package for using marketing cloud in salesforce. So first we are creating triggersends in salesforce and once activated here in marketing cloud triggersend are automatically created. In the same way once we update any field value of triggersend recod in salesforce it will automatically gets updated in marketing cloud.

Now I'm facing issue 'Since you've previously selected a From Name/Email Address, it can't be deselected. Choose a From Name/Email Address override and save again.' when trigger Send is try to update . 

Steps to reproduce open triggersend record and edit with automationemil form(vf page using this page only we are creating trigger send in salesforce so if we want to update also we have to come here and update) and change any value and click save this issue is coming in my org.

Any ideas to resolve this. 
List<sobject> tmpOutput = (list<sobject>)JSON.deserialize(str,list<sobject>.class);
[temOutput-->contains one secnario account object and another scenario contains custom objects ]
how to insert sobject list values 
in my secnario i need to insert all custom and standard
objects records   at time in dynamically
I have created a flow to create new case records and I'm trying to add the file upload component to attach files. When I run the debug to see if it is working. The screen to upload files is greyed out.  I'm not sure if i have the setup correct. please any help to get this working would be greatly appreciated. 

User-added image

Component Setup
User-added image
 
  • January 03, 2020
  • Like
  • 0
Hi, 

I have a requirement where I need to round robin leads to two groups of users (SDRs and Account Execs). If lead has xyz fields filled out, it should round robin to the account execs. However, if the fields are not filled out, it should round robin to SDRs. Has anyone seen a good way to do this?
Hello developers


PFA error I'm facing while composing email from satadard email composer in lightbing. it's not more that 200 characters i given in body , but i'm getting errror.
 
HTML Body: data value too large: <html> <head> <title></title> </head> <body style="height: auto; min-height: auto;"><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=ProgId content=Word.Document><meta name=Generator content="Microsoft Word 15"><meta name=Originator content="Microsoft Word 15"><!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-IN</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:EnableOpenTypeKerning/> <w:DontFlipMirrorIndents/> <w:OverrideTableStyleHps/> </w:Compatibility> <m:mathPr> <m:mathFont m:val="Cambria Math"/> <m:brkBin m:val="before"/> <m:brkBinSub m:val="&#45;-"/> <m:smallFrac m:val="off"/> <m:dispDef/> <m:lMargin m:val="0"/> <m:rMargin m:val="0"/> <m:defJc m:val="centerGroup"/> <m:wrapIndent m:val="1440"/> <m:intLim m:val="subSup"/> <m:naryLim m:val="undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="false" DefSemiHidden="false" DefQFormat="false" DefPriority="99" LatentStyleCount="371"> <w:LsdException Locked="false" Priority="0" QFormat="true" Name="Normal"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name... (max length=32000)



 
Im trying to figure out if there is a way create new case comments from email to case Thread ID.   I want this to work like salesforce cases work. When a salesforce agent sends me an email and I reply to the email the support case updates with my comments. Is there a way to do this? 
  • December 09, 2019
  • Like
  • 0
I have created a visualforce page to allow our first line support team to escalate to the 2nd line team. 

When a ticket is escalated we require them to record the time spent on the ticket and have a custom field called time spent and it is set as a number. 

Is there a way to add a field onto the visualforce page that isn't a field on the case but when they enter the time spent it increases the value in the field time spent? 

I have had a look and I cannot seem to find a way to do it
I got the "/services/data/v46.0/parameterizedSearch" POST API working for a complex SOSL search I want to perform. I am referring to the Salesforce documentation here: https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_search_parameterized.htm

My requirement is, I wish to find an email address by only searching the email fields and have the request json payload tailored to do so
 
POST /services/data/v46.0/parameterizedSearch
{ 
"q":"mytestemail+test@example.com", 
"fields":["Id", "external_id__c"], 
"in": "EMAIL", 
"sobjects": [{"name":"Account"}] 
}

Per my understanding if I use "in": "PHONE" it should not yield any results but it does.
 
POST /services/data/v46.0/parameterizedSearch 
{ 
"q":"mytestemail+test@example.com", 
"fields":["Id", "external_id__c"], 
"in": "PHONE", 
"sobjects": [{"name":"Account"}] 
}

Please let me know if I am missing something here.
I have a 2 component.  I want to send the attribute value from the parent to child.  The attribute value is update after a record is created(I am pulling the record id back to the component).  But the attribute value shows undefined when use the second componen so that tells me that the attribute value is not getting updated.
I am referencing the second compont like this
<c:childcmp pcmpId="{!v.parentid}"/>

The child comp needs the parent id so whatever is the best way to get the parent id to the child component please advise.  I have tried events and have been not been succesful.
Thanks,
P

Hi there! 

I am looking to change the fields displayed on an opportunity based on a picklist value selected. For example, if someone selects 2020, the individual months for Jan - Dec will appear for a number to be entered. 

If someone selects 2021, then the months for Jan - Dec of that year will appear for a numeric value to be entered. Is this possible? Does it require custom code? 

Using the Includetab with multiple controllers, if yes, iam getting the values in the system.debug(); , but unable to display the values in the visualforce page..!
 
<!--Using the Includetab with multiple controllers-->

<apex:page controller="actionfunctiontest1" >
   
   <apex:form >
        <ul>
          <li onclick="passValueToController('Testing'); return false;" style="cursor:pointer;">Click Me</li>
        </ul> 
     
    <apex:actionFunction name="passValueToController" action="{!testing}" reRender="frm" >
        <apex:param name="selectedval" value="selectedval" assignTo="{!selectedval}"></apex:param>
     </apex:actionFunction>
   </apex:form>
       
    <apex:outputPanel id="frm">
           <apex:include pageName="actionfunctiontest2"/>
     </apex:outputPanel>
      
  </apex:page>

<!--apexclass-->
Apex Controller:

public class actionfunctiontest1 {
 public String selectedval{get;set;}
  // public actionfunctiontest2 t1{get;set;}
  public void testing(){
  system.debug('form the selectedval controller1'+selectedval);
  
      actionfunctiontest2  t1= new actionfunctiontest2();
   } 
}
Included page is:
<apex:page controller="actionfunctiontest2">
  <apex:form >
 The value passed is:<apex:inputtext value="{!name}"/>
  </apex:form>
</apex:page>


Apex Controller:-

public class actionfunctiontest2 {
   public string name{get;set;}
   public actionfunctiontest2(){
        name =Apexpages.currentPage().getParameters().get('selectedval');
        system.debug('This is the controller2 form 1 im getting the values here');
        system.debug(' sucess:'+ name);
      }
      
}

//iam gettig the value is the system.debug, but unable to dispaly it in the visualforce page..
//can multiple controllers can be used for the Include tag in salesforce

Thank you
I am trying to select multiple users from the User object in Salesforce. i could reproduce all the steps in the link except Testapp.app and got an below error.

http://sfdcmonkey.com/2018/02/20/multi-select-lookup-salesforce-lightning/

Failed to save TestApp.app: The attribute "label" was not found on the COMPONENT markup://c:reUsableMultiSelectLookup: Source

Any help would be greatly appreciated!  My code - 

<aura:application extends="force:slds">
  <!-- Create attribute to store lookup value as a sObject--> 
  <aura:attribute name="selectedLookUpRecords" type="sObject[]" default="[]"/>
 
  <c:reUsableMultiSelectLookup objectAPIName="user"
                               IconName="standard:user"
                               lstSelectedRecords="{!v.selectedLookUpRecords}"
                               label="User Name"/>
   <!-- here c: is org. namespace prefix-->
</aura:application>