-
ChatterFeed
-
4Best Answers
-
1Likes Received
-
0Likes Given
-
25Questions
-
81Replies
apex:chart reRedner issue
I am having an issue with apex:chart reRendering, it does not work, each and every varible value getting set as expected but data does not display inside chart even data is there in controller.
Please help me out, development has been stuck. I have read many blogs but solution.
- vijaymind
- November 23, 2014
- Like
- 0
- Continue reading or reply
fromAddress field is of InboundEnvelop or InboundEmail
http://wiki.developerforce.com/page/An_Introduction_To_Email_Services_on_Force.com
email.fromAddress ='test@test.com';
http://wiki.developerforce.com/page/Code_Sample_-_Testing_Email_Services_with_Inbound_Attachments
env.fromAddress = 'user@acme.com';
Which one is true ?
- vijaymind
- January 07, 2014
- Like
- 0
- Continue reading or reply
email to case agent
Hi everyone,
I am very confused with all the post on dicussion that we needs to install agent on firewall. Now actually I really did not found the way how to install it. Everyone talk about the same thing but no one is here who can explain step by step solution to install agent on firewall and acheive the same to overcome the limitation of attachment which is 10MB in email on demand.
Thanks
Vijay
- vijaymind
- July 16, 2013
- Like
- 0
- Continue reading or reply
Window.open issue on VF page
Hi All,
I have a outputLink or href and onclick calling window.open('{!anyotherwebsite}');
its opening https://c.cs12.visual.force.com/apex/anyotherwebsite.......
but I only want to open a site like
so when I am passing anyotherwebsite varible from controller and binding in window.open its not working and if I pass it directly like
window.open('http://www.google.co.in/'); it works perfectly ?
Any solution so that we can pass url from controller varibale and it open just web site name rather than including https://c.cs12.visual.force.com/apex/....
Thanks
Vijay
- vijaymind
- May 16, 2013
- Like
- 0
- Continue reading or reply
Data not showing on VF page
Hi All,
I am querying on some standard object like Document contracts etc. I have with sharing controller and Data returning the list but not displaying on VF page. I know why is it happening because user doesnot have Read access to Those standard object.
My question is why query is returinig records to the running user which doent have CRUD permissions ob that object ?
Thanks
Vijay
- vijaymind
- May 13, 2013
- Like
- 0
- Continue reading or reply
window.open in partner portal not open in parent URL
Hi All,
I have a simple JS function.
function openNewVfpage(){
window.open('/apex/GRID_portalSearch?searchText='+document.getElementById('{!$Component.formId.SearchKeyWord}').value,'_parent');
return true;
}
it working in salesforce when I am clicking on button. but in portal I am using the same VF page and clicking on button and it opens only
https://c.cs12.visual.force.com/apex/GRID_portalSearch
but I need this URL with the parameter ?searchText=value
it should be
https://c.cs12.visual.force.com/apex/GRID_portalSearch?searchText=value
can anyone please help me out ?
Thanks
Vijay
- vijaymind
- May 09, 2013
- Like
- 0
- Continue reading or reply
Account Sharing Rule Issue
Hi All,
I am facing an issue , I have some partner users , I have created a Account Sharing Rule (Criteria Based) And I have given Access to Contact Opportunity And Cases (Read/Write) to all. Acccount and contacts are getting shared but not Opportunities. What is the issue? I have check partner user custom profile permissions are OK.
Any help will be appriciated.
Thanks
Vijay
- vijaymind
- February 19, 2013
- Like
- 0
- Continue reading or reply
What is difference between Apex Test Execution and Run All Test Technique
Hi All,
Salesforce did a very dirty change.
1. Earlier when we click on test method run test it redirect to apex test execution page.
2. Even now if I am clicking on Run All Test button still redirecting Apex Test Execution Technique.
The problem is I am making run all test on Production ORG and alwasy coverge is over 83%. Now the problem is when we use apex test execution technique it ask the selected name space class to run which only tell the total coverage of your selected name space classes. Now I want the overall coverage.
How do I get that ? bec when I am cliking on Run All Test still it run the default name space classs.
- vijaymind
- February 06, 2013
- Like
- 0
- Continue reading or reply
To Many DML Row 10001 in Batch Apex
HI All,
Why I am getting this error even I am processing all my record in a batch of 200 size. Salesforce didnot documented batch class concept very much clear anywhere.That how batch are runs how batch thread works ? Are all thread of a single batch runs parallely ? Nothing
Thanks
Vijay
- vijaymind
- January 25, 2013
- Like
- 0
- Continue reading or reply
Run Test Issue Created Recently ... When clicking on run test on apex test class
When clicking on run test on apex test class it redirects to apex test execution page. And not able to see line of code coverage from UI now.?????
Any wayout except eclipse ?
- vijaymind
- January 13, 2013
- Like
- 0
- Continue reading or reply
How can we get Approval Process getWorkitemId if we have the record Id
How can we get Approval Process getWorkitemId if we have the record Id ?
- vijaymind
- November 14, 2012
- Like
- 0
- Continue reading or reply
User Image As Attachment Issue
Hi All ,
I want to insert user image as attachment . Any Idea ?
- vijaymind
- July 30, 2012
- Like
- 0
- Continue reading or reply
How to display User Image on Force.com Site
Hi ,
I have badly stuck with the problem , I am getting User Image Url "https://c.cs12.content.force.com/profilephoto/005/T" but if image in not added to User Image a blank photo show but if I added photo the User Image and rendering the VF page on force.com site , The Image not showing its showing just like a burst images !
- vijaymind
- May 25, 2012
- Like
- 1
- Continue reading or reply
System.JSONException: Premature end of Apex Object at [line:, column:]
Hi Folks ,
I have badly stuck while deserialize JSON in to Apex Wrapper Class .
I have successfully deserialized lot of JSON string in to apex but now this error raising .
Can anyone see this error ever , please help me out , I know this is silly mistake but really I am not able to identify the problem.
Let me know if you need JSON string and Apex class code ?
Thanks
- vijaymind
- May 08, 2012
- Like
- 0
- Continue reading or reply
Chatter on Force.com Site
Hi All ,
has anyone implemented chatter on force.com site ? I am very eager to know how can we implement this . As we know that we can not use chatter visualforce component on force.com site.
- vijaymind
- April 23, 2012
- Like
- 0
- Continue reading or reply
EnhanceList scroll alignment problem on visualforce
Hi All ,
I am facing a problem with enhancelist .
On page load when all data in enhancelist show properly and a scrollbar comes below the enhancelist .
Once I click on next or previous or changing number of record per page , scroll bar gonna be invisible and it visible for the whole visualforce in below of the browwer it mean it create a unnecessary space in righthand side of visualforce page.
Can anone help me out ?
- vijaymind
- March 27, 2012
- Like
- 0
- Continue reading or reply
InputFile And Rerender Problem
Hi All ,
I have open a child window with window.open
And I want when I uploaded all attachment on this child window , I have another button to close this window , once I click on this button my parent visualforce page must be rerender not refresh so I Can maintain the values I had selected on visualforce page .
Because when the page is refreshed the all values are lossed .
- vijaymind
- January 24, 2012
- Like
- 0
- Continue reading or reply
Delete Case Notes And Attachment Problem
Hi All ,
please help me out.
I want to delete the case notes & attachment and I am a user with Read , Create , Edit , Delete permission.
Once I try to delete attchment raise error Insufficient prevelages.
Once I did it Modify All Data Permission then only I am able to delete the case attachment. But I dont want to give Modify All data permission.
How can be do that , is there any other way to handle this .
- vijaymind
- December 13, 2011
- Like
- 0
- Continue reading or reply
Record Sharing Through Apex Trigger
Hi All ,
I have an issue . Let me explain the problem.
I am sharing A custom object Record through before trigger . And the Object is OWD Private.
I am changing record owner as System Administrator who ever insert the record .
User u = [select Id from User where Profile.Name='System Administrator' Limit 1];
for(Project__c p : trigger.new){
p.ownerId = U.Id;
}
Now let say any of the user insert the Project__c records trigger will change the owner.
Once owner is change as System Admin. This user can not share this recod with other users because OWD is private.
The User who insert this record do not have privelage to share the record.
Now suggest me how to share these records in sigle trigger script.
- vijaymind
- December 10, 2011
- Like
- 0
- Continue reading or reply
Attendee List is Null when Creating an Event
Hi Friends ,
Can anyone can help me out I stuck in scenario .
How to add invities while creating an event through apex ??
- vijaymind
- November 30, 2011
- Like
- 0
- Continue reading or reply
How to display User Image on Force.com Site
Hi ,
I have badly stuck with the problem , I am getting User Image Url "https://c.cs12.content.force.com/profilephoto/005/T" but if image in not added to User Image a blank photo show but if I added photo the User Image and rendering the VF page on force.com site , The Image not showing its showing just like a burst images !
- vijaymind
- May 25, 2012
- Like
- 1
- Continue reading or reply
apex:chart reRedner issue
I am having an issue with apex:chart reRendering, it does not work, each and every varible value getting set as expected but data does not display inside chart even data is there in controller.
Please help me out, development has been stuck. I have read many blogs but solution.
- vijaymind
- November 23, 2014
- Like
- 0
- Continue reading or reply
fromAddress field is of InboundEnvelop or InboundEmail
http://wiki.developerforce.com/page/An_Introduction_To_Email_Services_on_Force.com
email.fromAddress ='test@test.com';
http://wiki.developerforce.com/page/Code_Sample_-_Testing_Email_Services_with_Inbound_Attachments
env.fromAddress = 'user@acme.com';
Which one is true ?
- vijaymind
- January 07, 2014
- Like
- 0
- Continue reading or reply
apex cpu time limit exceeded
System.DmlException: Update failed. First exception on row 0 with id 006e00000049qyNAAQ; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, GlobalOpportunitySoldOrMissed: execution of AfterUpdate
caused by: System.LimitException: Apex CPU time limit exceeded
What does this error message mean?
Thank you!
- noobfn
- September 09, 2013
- Like
- 0
- Continue reading or reply
Window.open issue on VF page
Hi All,
I have a outputLink or href and onclick calling window.open('{!anyotherwebsite}');
its opening https://c.cs12.visual.force.com/apex/anyotherwebsite.......
but I only want to open a site like
so when I am passing anyotherwebsite varible from controller and binding in window.open its not working and if I pass it directly like
window.open('http://www.google.co.in/'); it works perfectly ?
Any solution so that we can pass url from controller varibale and it open just web site name rather than including https://c.cs12.visual.force.com/apex/....
Thanks
Vijay
- vijaymind
- May 16, 2013
- Like
- 0
- Continue reading or reply
Data not showing on VF page
Hi All,
I am querying on some standard object like Document contracts etc. I have with sharing controller and Data returning the list but not displaying on VF page. I know why is it happening because user doesnot have Read access to Those standard object.
My question is why query is returinig records to the running user which doent have CRUD permissions ob that object ?
Thanks
Vijay
- vijaymind
- May 13, 2013
- Like
- 0
- Continue reading or reply
window.open in partner portal not open in parent URL
Hi All,
I have a simple JS function.
function openNewVfpage(){
window.open('/apex/GRID_portalSearch?searchText='+document.getElementById('{!$Component.formId.SearchKeyWord}').value,'_parent');
return true;
}
it working in salesforce when I am clicking on button. but in portal I am using the same VF page and clicking on button and it opens only
https://c.cs12.visual.force.com/apex/GRID_portalSearch
but I need this URL with the parameter ?searchText=value
it should be
https://c.cs12.visual.force.com/apex/GRID_portalSearch?searchText=value
can anyone please help me out ?
Thanks
Vijay
- vijaymind
- May 09, 2013
- Like
- 0
- Continue reading or reply
action and onclick attributes on commandLink
Can i use action and onclick attribute on command line apex component together?
Can anyone give me some examples?
- abhi_sfdc
- April 14, 2013
- Like
- 0
- Continue reading or reply
pageBlockButtons only work at the bottom of the page, not at the top
I've noticed that in some of my Visualforce pages the buttons in a pageBlockButtons only work at the bottom, and not the top. The page goes away but returns unchanged and with the action not taken. At the bottom the actions work perfectly, those at the top do nothing.
I have no Javascript in the page, and no errors appear from either the developer log or the code console.
Anyone else have this? I'd put up the code, but it happens in about 10% of my pages, and I cannot see any common link.
- ColinC
- December 07, 2012
- Like
- 0
- Continue reading or reply
Cross-Site Request Forgery (CSRF/XSRF) safe Custom Button action
I've inherited an application that uses custom Visualforce pages to perform actions when a user presses a custom button.
E.g. There is a custom button on Opportunity that links to the Visualforce page and passes a query string parameter. When the users GET request arrives at the visual force page an action is fired in the custom controller to a method. The method calls out to some web services and ultimately updates the database.
This opens the user up to CSRF issues with the GET request ultimately updating the database.
CSRF and apex:page and Apex and Visualforce Applications suggest changing the visualforce page and custom controller to using a apex:form and button to trigger the database updating action though a POST. This allows the inbuilt com.salesforce.visualforce.ViewStateCSRF to ensure the user triggered the action and help avoid CSRF issues.
However, this requires the user to perform an extra button press.
Is there an alternative approach I can use to safely perform the action from the button on Opportunity without opening up CSRF issues?
The same question has been posted on StackOverflow: CSRF safe Custom button linked to Apex method
- Daniel Ballinger
- January 17, 2012
- Like
- 0
- Continue reading or reply
Input Field not showing
I am perplexed. I have a VisualForce page that has several input fields and for some reason this one is not showing up:
<apex:inputField value="{!Contact_Update__c.Home_State__c}" styleclass="apexInputField"/>
The other fields around it appear fine. Looking in the controller the value seems to be assigned, and if I change the word Home to Work (I have another field called Work_State__c) then the input field appears.
What places should I look to try and track down why this may not be showing. It seems like the code in the VisualForce page is correct.
UPDATE: When comparing the VisualForce page, to the Sites Page I note that its on the Site page only where the field is missing. The site uses the same VisualForce page, but I wonder if its some sort of a permission issue? Where should I be checking?
- jucuzoglu
- May 03, 2011
- Like
- 0
- Continue reading or reply