-
ChatterFeed
-
2Best Answers
-
1Likes Received
-
1Likes Given
-
13Questions
-
21Replies
notify to VP workflow
Notify the VP of Sales when a deal is lost if the stage was “Proposal/Price Quote” and the amount was greater than $1,000,000. plz help me in steps how to do code if required..
-
- Pankaj Parihar
- November 17, 2017
- Like
- 0
- Continue reading or reply
Error: <apex:page> is required and must be the outermost tag in the markup at line 1 column 1
when editing the vf page in firefox.
while is ok when editing in chrome
i.e. able to remove readOnly="true" from below code
<apex:page standardController="loan__Loan_Account__c" showHeader="false" sidebar="false" readOnly="true">
<apex:relatedList list="Cases__r" />
</apex:page>
The weird one.
-
- kantravikant
- April 02, 2014
- Like
- 0
- Continue reading or reply
Unable to use api name of custom Case field without namespace prefix in Batch job in same developer org.
Can anybody please help me out a reason?
Unable to use api name of custom Case field without namespace prefix in Batch job in same developer org.
Thanks
Ravi
-
- kantravikant
- February 14, 2014
- Like
- 1
- Continue reading or reply
-
- kantravikant
- November 13, 2013
- Like
- 0
- Continue reading or reply
-
- kantravikant
- February 22, 2013
- Like
- 0
- Continue reading or reply
Integrating Talend open source to Salesforce.com for backup of salesforce data into ms SQL server.
How will I integrate Talend to Salesforce for backup of its data into ms SQL server ?
How to proceed with apex code to achieve this task?
-
- kantravikant
- August 27, 2012
- Like
- 0
- Continue reading or reply
Integrating Talend open source to Salesforce.com for backup of salesforce data into ms SQL server.
Hi,
I want to backup salesforce data in ms SQL server, using Talend open source.
How I will integrate the talend in this case?
Please provide step-by-step process to do.
-
- kantravikant
- August 27, 2012
- Like
- 0
- Continue reading or reply
Visualforce Error : Map key 1011 not found in map
controller class is as
public class demo
{
public map<String,String>demoMap{get;set;}
public List<String> demoList {
get {return new List<String> {'1011','1111','1112','112'};}set;}
public demo()
{
demoMap=new map<String,String>();
demoList=new list<String>();
}
public boolean demoMethod()
{
demoMap=new map<String,String>();
for(String s :demoList )
{
String key=s;
String value='test';
demoMap.put(key,value);
}
return true;
}
}
visualforce page is as
<apex:page controller="demo"> <apex:panelGrid columns="4"> <apex:outputLabel value="{!demoMap[demoList[0]]}"/> <apex:outputLabel value="{!demoMap[demoList[1]]}"/> <apex:outputLabel value="{!demoMap[demoList[2]]}"/> <apex:outputLabel value="{!demoMap[demoList[3]]}"/> </apex:panelGrid> </apex:page>
-
- kantravikant
- August 14, 2012
- Like
- 0
- Continue reading or reply
To check values of variables in visualforce page.
How to check values of variables used in vf page.
eg value of test in recordSetVar="test" on visulaforce page.
-
- kantravikant
- August 13, 2012
- Like
- 0
- Continue reading or reply
Call visualforce page through a visualforce page
How to achieve this requirement?
Select the value from picklist and related other picklist and click on button on a vf page then a specific vf page should display.
-
- kantravikant
- August 08, 2012
- Like
- 0
- Continue reading or reply
Create advance financial reports with visualforce.
I want to create advance financial reports using visualforce and apex.
Please advice the best way to do.
Thanks
Ravi
-
- kantravikant
- August 08, 2012
- Like
- 0
- Continue reading or reply
Case in SOQL
Is it possible the "case" clause in salesforce?
So that for different picklist values ,we can aggregate the records distinguished in one soql query .
-
- kantravikant
- August 06, 2012
- Like
- 0
- Continue reading or reply
recordSetVar and Custom list view
Would any body describe relationship between recordSetVar and Custom list view?
Thanks in advance.
Ravi
-
- kantravikant
- August 06, 2012
- Like
- 0
- Continue reading or reply
Merge different Lists in apex to display on visulaforce page in pageblockTable.
I have different lists which consits of datas on the basis of different conditions and even from different objects.
Now I want to merge them on the basis of one common field or condition ,and want to display in pageblockTable on visualForce page. How?
-
- kantravikant
- August 06, 2012
- Like
- 0
- Continue reading or reply
Unable to use api name of custom Case field without namespace prefix in Batch job in same developer org.
Can anybody please help me out a reason?
Unable to use api name of custom Case field without namespace prefix in Batch job in same developer org.
Thanks
Ravi
-
- kantravikant
- February 14, 2014
- Like
- 1
- Continue reading or reply
errors running sfdx plugins:install salesforcedx@latest
I have latest version of salesforce cli and running sfdx plugins --core returns
@salesforce/plugin-generator 0.0.10 (core)
@salesforce/sfdx-trust 1.0.8 (core)
builtins 1.0.0 (core)
salesforcedx 43.12.0 (core)
But when I run sfdx plugins:install salesforcedx@latest I get errors below:
Installing plugin salesforcedx...
Installing plugin salesforcedx... Checking for digital signature.
Successfully validated digital signature for salesforcedx.
Finished digital signature check. Installing... !
! yarn --non-interactive --mutex=file:C:\...\AppData\Local\sfdx\yarn
! --cache-folder=C:\Users\...\Local\sfdx\yarn exited with code 1
! warning salesforcedx > salesforce-alm > replace > minimatch@0.2.14: Please update to minimatch
! 3.0.2 or higher to avoid a RegExp DoS issue
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > archiver > glob >
! minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
! warning salesforcedx > salesforce-alm > replace > nomnom@1.6.2: Package no longer supported.
! Contact support@npmjs.com for more info.
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > request >
! node-uuid@1.4.8: Use uuid module instead
! warning salesforcedx > salesforce-alm > jsonwebtoken > joi > hoek@2.16.3: The major version is no
! longer supported. Please update to 4.x or newer
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > request > hawk >
! hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
! error An unexpected error occurred: "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz:
! Request failed \"503 Service Unavailable\""
- Diane Clayton
- August 23, 2018
- Like
- 2
- Continue reading or reply
notify to VP workflow
Notify the VP of Sales when a deal is lost if the stage was “Proposal/Price Quote” and the amount was greater than $1,000,000. plz help me in steps how to do code if required..
- Pankaj Parihar
- November 17, 2017
- Like
- 0
- Continue reading or reply
Which Program is causing the API Request to exceed the limit?
Which Program is causing the API Request to exceed the limit?
- Daniel Ferrara
- November 08, 2017
- Like
- 2
- Continue reading or reply
Error: <apex:page> is required and must be the outermost tag in the markup at line 1 column 1
when editing the vf page in firefox.
while is ok when editing in chrome
i.e. able to remove readOnly="true" from below code
<apex:page standardController="loan__Loan_Account__c" showHeader="false" sidebar="false" readOnly="true">
<apex:relatedList list="Cases__r" />
</apex:page>
The weird one.
- kantravikant
- April 02, 2014
- Like
- 0
- Continue reading or reply
trigger to create duplicate lead
Hi All,
need to write a new trigger on lead which will check for ‘Open-Not Contacted’ Leads and then creates a duplicate entry of the same lead but with status as ‘Working – Contacted’, rest all information will be the same.
Thanks,
RudrAbhishek
- RudrAbhishek
- December 25, 2013
- Like
- 0
- Continue reading or reply
- kantravikant
- November 13, 2013
- Like
- 0
- Continue reading or reply
Visualforce Error : Map key 1011 not found in map
controller class is as
public class demo
{
public map<String,String>demoMap{get;set;}
public List<String> demoList {
get {return new List<String> {'1011','1111','1112','112'};}set;}
public demo()
{
demoMap=new map<String,String>();
demoList=new list<String>();
}
public boolean demoMethod()
{
demoMap=new map<String,String>();
for(String s :demoList )
{
String key=s;
String value='test';
demoMap.put(key,value);
}
return true;
}
}
visualforce page is as
<apex:page controller="demo"> <apex:panelGrid columns="4"> <apex:outputLabel value="{!demoMap[demoList[0]]}"/> <apex:outputLabel value="{!demoMap[demoList[1]]}"/> <apex:outputLabel value="{!demoMap[demoList[2]]}"/> <apex:outputLabel value="{!demoMap[demoList[3]]}"/> </apex:panelGrid> </apex:page>
- kantravikant
- August 14, 2012
- Like
- 0
- Continue reading or reply
To check values of variables in visualforce page.
How to check values of variables used in vf page.
eg value of test in recordSetVar="test" on visulaforce page.
- kantravikant
- August 13, 2012
- Like
- 0
- Continue reading or reply
Create advance financial reports with visualforce.
I want to create advance financial reports using visualforce and apex.
Please advice the best way to do.
Thanks
Ravi
- kantravikant
- August 08, 2012
- Like
- 0
- Continue reading or reply
Unable to install my package in developer account
HI, I made a managed package and uploaded it to appexchange.I upgraded it many times.Yesterday evening(at 1 st March 2011, 6 pm Indian time) also I upgraded the managed package with a bug fix. I am able to install the package in a developer edition successfully. But while I was installing the same package in enterprise edition, I got this error
"Package Not Found
The requested package does not exist or has been deleted. Please contact the package publisher for assistance. If this is a recently uploaded package, please try again soon. "
After that I tried many times, I got the same error. After 20 hrs also I am getting the same error.
Another thing is, now I am unable to install the same package in developer edition also. Because I am getting the same error.But I was installed the same package successfully once yesterday.
Please help me. I am unable to find any info related to this.
Thanks,
Naresh
- naresh john
- March 02, 2011
- Like
- 0
- Continue reading or reply
VF Error - not a valid child relationship name for entity Cases__r
I am encountering a strange VF error. Well, not a strange VF error (I've seen it before), but this time I can't nail down the reason why it's appearing.
A bit of background:
-I have a custom object created for Projects that is in a master-detail relationship with Opportunities. Opportunities is the master, Projects is the child.
-I also have a lookup on the standard Cases object to the custom Projects object. The intention of this is to associate cases with projects, in addition to the account that SFDC associates by default.
-The Projects object default view is overridden with a VisualForce page. It uses the standard controller, but there are so many fields we opted for a tabbed layout. There are a number of related lists included at the bottom of the page (Cases being one of them) using apex:relatedlist.
<apex:relatedList list="Cases__r" />
This is working fine for our internal users. Everything shows up as it is supposed to.
Now I am trying to get it set up in the Partner Portal. When logging in as a Partner user, and trying to browse the same project record (uses the same VisualForce page), I get an error: 'Cases__r' is not a valid child relationship name for entity Project
Of course it's a valid child relationship name, because it already works for internal users. My first thoughts were:
- Check to make sure the related list is on the standard page layout, because VF has issues with related lists if it is not included on the standard page layout. Done.
- Remove the related list from the standard page layout and add it back in. Done.
- Check the Profile permissions to make sure the user should have access to the Objects. Done. Profile has Read, Create, and Edit access to Accounts, Contacts, Opportunities, Projects, and Cases.
- Make sure the Profile has access to the VisualForce page (not that this could really be the problem, since the error is referencing something on the page). Done.
Where else could this be coming from?
- GMM
- February 16, 2011
- Like
- 0
- Continue reading or reply
How to get current fiscal year
HI every one,
How to get current fiscal year into a variable. Is there any method to read current fiscal year. I know how to write soql queries based on fiscal year. But how to get the value of current fiscal year into a variable.
Please help me.
Thanks,
Naresh
- naresh john
- February 08, 2011
- Like
- 0
- Continue reading or reply
how to make a trigger inactive in production
how to make a trigger inactive in production
- krishnag
- August 19, 2010
- Like
- 0
- Continue reading or reply
Generic get set function for visualforce and apex
Hello All,
I have a bit of a quandry. Excuse me if I'm a bit out of my element while trying to describe this, but here goes... I'd like to write a generic getter setter function in apex such that I can state any variable and have a single function handle the request. And I have to be able to use the get function from visualforce -- so I can't pass in a parameter into the function, correct? For instance, let's say I have three String variables.
String a;
String b;
String c;
And I write get functions as normal.
String getA() {return a;}
String getB() {return b;}
String getC() {return c;}
All is good and works easily with visualforce. But in my case I have possibly hundreds of variables, and would prefer not to write get function for every single one. I'm envisioning something like:
String get(String x) {return x;}
But, of course, that doesn't seem to work. Is there a way to make what I've described work?
Thanks in advance.
e.
- ericszulc
- May 06, 2010
- Like
- 0
- Continue reading or reply
Test.setCurrentPageReference error
Hi everyone,
I started to get the following error message today, everything was working fine and now I can't deploy my classes because the test units fail due to some incorrect signature in the setCurrentPageReference method inside the Test class.
I'm getting the following error message:
Save error: Method does not exist or incorrect signature: Test.setCurrentPageReference(System.PageReference)
Any ideas on what's happening? Can this be related to the Spring '10 upgrade? It's frustrating that this kind of things happen when you're ready to deploy your stuff to production..
- jonathanrico.
- February 09, 2010
- Like
- 0
- Continue reading or reply
Support and software
- Mikwin
- December 16, 2009
- Like
- 0
- Continue reading or reply
errors running sfdx plugins:install salesforcedx@latest
I have latest version of salesforce cli and running sfdx plugins --core returns
@salesforce/plugin-generator 0.0.10 (core)
@salesforce/sfdx-trust 1.0.8 (core)
builtins 1.0.0 (core)
salesforcedx 43.12.0 (core)
But when I run sfdx plugins:install salesforcedx@latest I get errors below:
Installing plugin salesforcedx...
Installing plugin salesforcedx... Checking for digital signature.
Successfully validated digital signature for salesforcedx.
Finished digital signature check. Installing... !
! yarn --non-interactive --mutex=file:C:\...\AppData\Local\sfdx\yarn
! --cache-folder=C:\Users\...\Local\sfdx\yarn exited with code 1
! warning salesforcedx > salesforce-alm > replace > minimatch@0.2.14: Please update to minimatch
! 3.0.2 or higher to avoid a RegExp DoS issue
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > archiver > glob >
! minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
! warning salesforcedx > salesforce-alm > replace > nomnom@1.6.2: Package no longer supported.
! Contact support@npmjs.com for more info.
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > request >
! node-uuid@1.4.8: Use uuid module instead
! warning salesforcedx > salesforce-alm > jsonwebtoken > joi > hoek@2.16.3: The major version is no
! longer supported. Please update to 4.x or newer
! warning salesforcedx > force-language-services > salesforce-alm > webdriverio > request > hawk >
! hoek@0.9.1: The major version is no longer supported. Please update to 4.x or newer
! error An unexpected error occurred: "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz:
! Request failed \"503 Service Unavailable\""
- Diane Clayton
- August 23, 2018
- Like
- 2
- Continue reading or reply