Pavan
  • Member for 8 years
  • Last seen more than a week ago
event.target.value not working after enabling lockerservice
4 votes

You need to handle both the framework and native browser event if (event.getSource) { // handling a framework component event target = event.getSource(); // this is a Component ...

View answer
Field Update on Button click Using JavaScript
Accepted answer
4 votes

Try this {!REQUIRESCRIPT("/soap/ajax/25.0/connection.js")} {!REQUIRESCRIPT("/soap/ajax/10.0/apex.js")} var caseObj = new sforce.SObject("Case"); caseObj.Id = '{!Case.Id}'; var caseRecords = ...

View answer
How to place a footer correctly on visualforce renderas="pdf"?
3 votes

Hey you can use the following code below, and for different variants of pdf generation refer the following blog post http://sfdevblr.blogspot.in/2014/10/creating-super-awesome-pdfs-with.html you can ...

View answer
Can i embed a iframe into the alert box in visualforce?
Accepted answer
2 votes

Here is what you can do Create a custom button and fill in the details and in "Behavior Section" choose "Execute JavaScript" and for "Content Source" choose "OnClick JavaScript",and in the code ...

View answer
Embed Power BI into Salesforce
1 votes

You have all the right resources, as mentioned in the blog https://powerbi.microsoft.com/en-us/blog/embedding-a-power-bi-report-into-salesforce/ This is based on the OAuth flow, More details on the ...

View answer
Show <apex:pageMessages> in javascript
1 votes

This is the simplest way to achieve it You can assign the the error Message to alertMsg to serve your purpose. Page: <apex:page controller="Js_Alert" > <script> ...

View answer
VF / HTML markup for RenderAs PDF a specific div that spans 1+ pages in landscape mode
1 votes

Yes its Possible !! All you need to do is ,add the following css in your style tag @page landScapeMode { size:landscape; } #summary { page:landScapeMode; } So basically what I have ...

View answer
Increase logo size in Napili Community Template Using CSS
0 votes

I see that in Napili template, if you upload a company logo, it will be rendered in a a tag with class set as cBrandingLogo under <div class="cBrandingProfile"> , so .cBrandingProfile a....

View answer
d.attributes[c] is undefined
0 votes

You need to make use of events to communicate between components. If parent to child, then aura:method is a simpler way Refer the Lightning developer guide

View answer
How to display two times from date/time column
0 votes

You can try this ! <apex:outputText value="{0,time,HH:mm }"> <apex:param value="YOUR DATE TIME FIELD" /> </apex:outputText> The below link would help you out ...

View answer