Himanshu Jasuja
IndividualForum Replies Created
-
Himanshu
MemberApril 30, 2016 at 1:36 pm in reply to: Is there any difference while creating reports for different types of users in Salesforce?Hi Ajay,
Try this link :-http://www.salesforceben.com/salesforce-reports-url-hack/
Hope thsi helps you.
-
Himanshu
MemberApril 30, 2016 at 1:34 pm in reply to: Refresh parent page upon closing child with JavaScriptHi piyush,
You can try this script in your code that helps you to work in IE.
window.opener.location.reload();
Thanks
-
Himanshu
MemberApril 30, 2016 at 1:29 pm in reply to: Can I use a apex:repeat on a VF page to iterate through related external data?Hi Piyush, Yes you can use apex:repeat in a vf page.
You should be able to use the external objects just like a custom object. Here is an example using the repeat tag on the sample external object from the trailhead project:
<apex:page standardController="Account">
<apex:detail relatedList="false"/>
<apex:repeat value="{!Account.Orders__r}" var="order">
<apex:outputField value="{!order.orderID__c}"/>
</apex:repeat>
</apex:page>Hope this helps you.
-
Himanshu
MemberApril 25, 2016 at 12:58 pm in reply to: Is it possible to grant delete permission using apex managed sharing?Hi Danna, Yes it is possible to grant the permission.
Refer this link:- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm
-
Hi karen,
Maybe javascript on your page causing the error or any hardcoded URL's.
-
Himanshu
MemberApril 25, 2016 at 12:44 pm in reply to: Grouping records in a report on Visualforce pageHi karen,
Follow this BOB - link--http://bobbuzzard.blogspot.in/2011/06/grouping-records-and-children-in.html
That shows the records in grouping.
Hope this helps you.
-
Himanshu
MemberApril 23, 2016 at 10:16 am in reply to: Which charting.js library does Salesforce Analytics?Hi Karen,
The following Js Library react, backbone and underscore use in salesforce analytics.
-
Himanshu
MemberApril 23, 2016 at 10:07 am in reply to: Does Wave Analytics support data mining features?Hi Karen,
Currently, wave doesn't have any data mining features. Basically the functionality is the ability to do data discovery across single or multiple datasets.
There are some Salesforce prediction partners, however I think most of them essentially require the import and export of the required data, they perform a standardised algorithm of which you can then import into Analytics Cloud . There is no Predictive Analytics on platform.
-
Himanshu
MemberApril 22, 2016 at 1:21 pm in reply to: How to create an object with n number of children mapped to it?Hi Audrey,
You can create either a lookup relationship field or a master/child relationship field in the child object to achieve your functionality.
-
Hi Audrey,
Follow these steps to speed up your eclipse as a super fast IDE , it works for 32 & 64 bit version eclipse/jdk on my windows 7 x64.
1.Disable antivirus software, or add your jdk & eclipse & workspace & other related folder to white list in your antivirus software.
2.Disable unecessary validations and startup action in eclipse reference.
For validations: on eclipse menu Windows -> Preferences -> Validation, click “Disable All”, and then select the validator which you need. I selected “Classpath Dependency Validator” only.
For startup action: on eclipse menu Windows -> Preferences, type “startup”, select “Startup and Shutdown”, untick the options you don’t need. (Thanks for David’s suggest, I’ve added the above 2 detail steps for readers)
3.Create a ram disk(virtual disk) on memory, and put your jdk on the ram disk.
You can use imdisk to create ram disk. Firstly download it from: http://www.ltr-data.se/opencode.html/#ImDisk, and install it.Then set the ImDisk driver to auto-load at Command Prompt with administrative privileges (for example right-click, start as Administrator), type:
sc config imdisk start= auto
net start imdiskcreate a 200m ram disk as driver n by:
imdisk -a -t vm -s 300m -m n:then you should format the ram disk manually.
later ,if you would like to remove the ram disk, just run the command:
imdisk -D -m n:4.Make sure you are using sun jdk, not open jdk/gcj nor other jdk on linux.
If you are not satified with the after the above steps, install jrockit instead of sun jdk, and change some of the vm options by jrocket specification,
jrockit is faster than sun jdk.Hope this helps you.
-
Himanshu
MemberApril 21, 2016 at 9:51 am in reply to: Explain Programmatic way to set profile attributes in Salesforce.Hi Audrey,
There's a free app called The Permissioner which makes stuff like that easier.
This is the link of the app on appexchange.
https://appexchange.salesforce.com/listingDetail?listingId=a0N30000008XYMlEAO
-
Himanshu
MemberApril 21, 2016 at 8:23 am in reply to: Should we have an ISV account to complete the ISV Dev Salesforce Trailhead modules?Hi Danna,
Try this link:- https://developer.salesforce.com/forums/?id=906F0000000DDpHIAW
-
Himanshu
MemberApril 20, 2016 at 9:17 am in reply to: Do we have some step-by-step guide to create Lightning Components?Hi Hazel,
1)https://resources.docs.salesforce.com/sfdc/pdf/lightning.pdf
This is the link of the lightning pdf. You can follow the guide to create the lightning components in salesforce.
2)You can also use the trailhead of lightning component.Here is the link.
https://developer.salesforce.com/trailhead/en/module/lightning_components
-
<apex:page standardController="Contact" extensions="TestPopup">
<apex:form >
<apex:pageBlock >
<apex:commandButton value="show popup" action="{!showPopup}" rerender="popup" status="status"/><apex:outputPanel id="popup">
<apex:outputPanel id="popInnerOutputPnl" styleClass="customPopup" layout="block" rendered="{!displayPopUp}">
<apex:commandButton value="X" title="Close the popup" action="{!closePopup}" styleClass="closeButton" rerender="popup">
</apex:commandButton>
<apex:pageblockSection ><apex:pageblockSectionItem >
<apex:outputLabel value="Email" for="address"></apex:outputLabel>
<apex:inputField id="address" value="{!Contact.Email}"/>
</apex:pageblockSectionItem>
</apex:pageblockSection>
<apex:commandButton value="Ok" action="{!redirectPopup}" styleClass="closeButton" rerender="popup">
</apex:commandButton>
</apex:outputPanel>
</apex:outputPanel></apex:pageBlock>
</apex:form>
<style type="text/css">
.customPopup {
background-color: white;
border-style: solid;
border-width: 2px;
left: 20%;
padding: 10px;
position: absolute;
z-index: 9999;
/* These are the 3 css properties you will need to tweak so the pop
up displays in the center of the screen. First set the width. Then set
margin-left to negative half of what the width is. You can also add
the height property for a fixed size pop up.*/
width: 500px;
top: 20%;
}.disabledTextBox {
background-color: white;
border: 1px solid;
color: black;
cursor: default;
width: 90px;
display: table;
padding: 2px 1px;
text-align:right;
}.closeButton {
float: right;
}
</style>
</apex:page>public with sharing class TestPopup {
public Boolean displayPopup {get;set;}
public TestPopup(ApexPages.StandardController controller) {
}
public void showPopup()
{displayPopup = true;
}public void closePopup() {
displayPopup = false;}
public PageReference redirectPopup()
{
displayPopup = false;
//Please uncomment below 3 statements and replace YourObjectId
// PageReference p=new Pagereference('/'+YourObjectId);
// p.setRedirect(true);
// return p;}
}Hope this helps you.
-
Himanshu
MemberApril 14, 2016 at 8:29 am in reply to: Can I Insert a Static Resource using Apex Code in Salesforce?Hi Ajit,
No,Actually you can't perform DML operations on static resources so it is not possible, if you try the below code then it will throw an error that DML operations are not allowed on Static resources.
string str;
StaticResource st = new StaticResource();
st.body=blob.toPdf(str);
st.name='abcd';
insert st; -
Himanshu
MemberApril 14, 2016 at 8:26 am in reply to: How can I create a page with detailed view in Visualforce page?You can use <apex:detail > tag in visual force page to get this done.
-
You can get these done through Batch class .
-
Himanshu
MemberApril 14, 2016 at 7:59 am in reply to: Auto Populate page of Opportunity Record on Custom ButtonHi Ajit,
Create a a javascript button and use this link.
window.open("/006/e?opp11=Prospecting");
the above url is for creating a new Opportunity - http://ap2.salesforce.com/006/e?retURL=%2F006%2Fo so copy your org url by clicking on new opportunity in your org and make the url same as mine here opp11 is field id of stage name in opportunity if you want more records to be populated add the other fields id by puting '&' in the url like this
window.open("/006/e?opp11=Prospecting&opp9=123"); here opp9 is Amount to get the field id's open the below link :
use links to get field Id's : http://phollaio.tumblr.com/post/22058016777/how-to-obtain-a-field-id
-
Himanshu
MemberMarch 31, 2016 at 7:32 am in reply to: Why attachment is converting to link by sending email from salesforce?Hi Akash
Please refer this link:- https://developer.salesforce.com/forums/?id=906F00000008yyTIAQ
-
Himanshu
MemberMarch 31, 2016 at 7:21 am in reply to: Exporting records from Dataloader using like operatorHi Abhinav
Yes,You can use the like operator in the query while export the records from data loader.
Select Id, Name FROM Account WHERE name LIKE 'h%'