-
ChatterFeed
-
0Best Answers
-
1Likes Received
-
0Likes Given
-
11Questions
-
8Replies
Design considerations for non salesforce user?
What are the Design considerations for non salesforce user?.
How to handle the Securing/Controlling and Sharing Data for Non Salesforce Users?.
We want to leverage the Salesforce PAAS and we dont need to tightly integrate with Salesforce.com.
-
- KrishnakumarJ
- December 11, 2009
- Like
- 0
- Continue reading or reply
Dynamic Rerendering in VF page
Based on Organization chosen from dropdown Expense & Guideline should be displayed.
1)When I chose the organization the selected orgnanization is displayed and the corresponding expenses are displayed based on the organization chosen.
2) But the uncomment the following two lines:
<!-- <apex:selectList value="{!guideLineGroupId}" size="1" required="true"> <apex:selectOptions value="{!allGuidelineGroups}"/> </apex:selectList>-->
the selected orgnanization is not displayed as per the following line
<apex:dataList value="{!guideLineObj.Organization_Lookup__c}" var="c">{!c}</apex:dataList>
Please let me know the correct approach to solve this.
Regards,
KK
Code:
<apex:page standardController="Guideline__c" extensions="GuideLineActionController" tabStyle="Account" standardStylesheets="true" sidebar="false">
<apex:form >
<apex:pageBlock title="Add Organization" id="thePageBlock" mode="edit" >
<apex:actionRegion ><apex:pageBlockSection columns="1" showHeader="true">
<apex:pageBlockSectionItem id="itemSection1">
<apex:panelGrid columns="2" width="50%" styleClass="centered">
<apex:outputLabel value="Organization" style="font-weight:bold;" />
<apex:selectList value="{!guideLineObj.Organization_Lookup__c}" size="1">
<apex:actionSupport event="onchange" action="{!onChangeOrgName}" rerender="out" status="status" />
<apex:selectOptions value="{!organizations}"/>
</apex:selectList>
</apex:panelGrid>
</apex:pageBlockSectionItem>
<apex:pageBlockSectionItem id="itemSection2" >
<apex:actionRegion immediate="true">
<apex:outputPanel id="out">
<apex:actionstatus id="status" startText="refreshing...">
<apex:facet name="stop">
<apex:outputPanel layout="block" styleClass="lineSmall">
<apex:dataList value="{!guideLineObj.Organization_Lookup__c}" var="c">{!c}</apex:dataList>
<apex:panelGrid columns="2" styleClass="centered" width="37%">
<apex:outputLabel value="Expense Type" style="font-weight:bold;" />
<apex:selectList value="{!expenseTypes}" size="1" required="true">
<apex:selectOptions value="{!allExpenseTypes}"/>
</apex:selectList>
</apex:panelGrid>
<apex:panelGrid columns="2" styleClass="centered" width="27%" columnClasses="left,right">
<apex:outputLabel value="GuideLine Group" style="font-weight:bold;" />
<!--
<apex:selectList value="{!guideLineGroupId}" size="1" required="true">
<apex:selectOptions value="{!allGuidelineGroups}"/>
</apex:selectList>
-->
</apex:panelGrid>
</apex:outputPanel>
</apex:facet>
</apex:actionstatus>
</apex:outputPanel>
</apex:actionRegion>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:actionRegion>
</apex:pageBlock>
</apex:form>
-
- KrishnakumarJ
- November 05, 2009
- Like
- 0
- Continue reading or reply
SF Custom Report Templates
Is there any way to integrate our own dataset with salesforce report templates?
-
- KrishnakumarJ
- October 29, 2009
- Like
- 0
- Continue reading or reply
MutipleRerendering in VF Page
Is that possible to do Mutiple Rerendering in a VF Page ?
Please share the samples or experiences if any.
Thanks,
krishna
-
- KrishnakumarJ
- October 28, 2009
- Like
- 0
- Continue reading or reply
Storing and Accessing of Session variables in APex Page aswell in controller
How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
Regards,
KK
-
- KrishnakumarJ
- October 26, 2009
- Like
- 1
- Continue reading or reply
Failed to parse wsdl, External schema import not supported Error is thrown.
Hi,
My task is to integrate PayPal using APEX.
I am trying to generate Apex class from PayPalSvc WSDL file.
When I use the "Generate from WSDL" option then browse for my WSDL and click the "Parse WSDL" button, I get the following error:
Error: Failed to parse wsdl: Found schema import from location CoreComponentTypes.xsd. External schema import not supported
xsd:import and wsdl:import are not supported (as the error message indicates).
I'm a newb, can you or someone explain or show me how to
"re-work the wsdl to have all the imported schemas in the wsdl document directly." ?
Location of PayPal WSDL and XSD Files
PayPal Schema : https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
eBL Base Components and Component Types
https://www.sandbox.paypal.com/wsdl/eBLBaseComponents.xsd
https://www.sandbox.paypal.com/wsdl/CoreComponentTypes.xsd
How do I generate the Apex class?
Please shed some light on this.
Thanks in advance..!
-
- KrishnakumarJ
- September 19, 2009
- Like
- 0
- Continue reading or reply
BestPractices to upload file from local machine to salesforce.com.
How to upload file from local machine to salesforce.com.
Can you give some idea or sample on how to implement it...!!
It will be great if anyone could help on this..
Thanks in advance.
-
- KrishnakumarJ
- September 14, 2009
- Like
- 0
- Continue reading or reply
Calling methods from java class and bind the results in APEX page?..
FileName : Sample.java
import com.sforce.soap.partner.*;
import com.sforce.ws.*;
public class Sample{
public List getAccountDetails() {
ConnectorConfig config = new ConnectorConfig();
config.setUsername(username); config.setPassword(password);
connection = Connector.newConnection(config);
//Fetching Account Details
}
How to invoke this getAccountDetails() function in APEX page?...
Any help is appreciated.
-
- KrishnakumarJ
- September 14, 2009
- Like
- 0
- Continue reading or reply
Is it possible to use java.util.Calendar in Apex class?..
Based current date I need to get the month start date and end date. I have done it using java..
java.util.Calendar cal = Calendar.getInstance();
Can anybody let me know whether it is possible to use java.util.Calendar in Apex class?.
If yes , sample example would be helpful.
-
- KrishnakumarJ
- September 12, 2009
- Like
- 0
- Continue reading or reply
Example Sample HelloWorld WebService needed
I need examples for the foll:
1) How to create Sample HelloWorld WebService using Apex?.
2) How to generate WSDL for this Sample HelloWorld WebService ?.
3) How to consume that Sample HelloWorldWebService in VisualForce page?..
Any Help would be appreciated.
-
- KrishnakumarJ
- September 11, 2009
- Like
- 0
- Continue reading or reply
Not able to create a Custom Object thru Force Ide
While creating Custom Object thru force Ide:
The selected wizard could not be started.
Reason:
Plug-in "com.salesforce.ide.ui" was unable to instantiate class "com.salesforce.ide.ui.wizards.components.object.CustomObjectWizard".
Error creating bean with name 'customObjectMetadata' defined in class path resource [config/components.xml]: Cannot create inner bean 'util:constant#159d796' of type [org.springframework.beans.factory.config.FieldRetrievingFactoryBean] while setting bean property 'sharingModel'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util:constant#159d796#3': Post-processing of the FactoryBean's object failed; nested exception is java.lang.StackOverflowError
Eclipse Version: 3.4.1
Java Version: "1.5.0"
Following err message appears in force-ide.log
D:\ApexWS\.metadata\.plugins\org.eclipse.core.resources\.projects\Test\com.salesforce.ide.core\packageCache.xml (The system cannot find the file specified)
But the packageCache.xml exists in the same location.
Any solutions will be appreciated.
-
- KrishnakumarJ
- September 11, 2009
- Like
- 0
- Continue reading or reply
Storing and Accessing of Session variables in APex Page aswell in controller
How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
Regards,
KK
-
- KrishnakumarJ
- October 26, 2009
- Like
- 1
- Continue reading or reply
Storing and Accessing of Session variables in APex Page aswell in controller
How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
Regards,
KK
- KrishnakumarJ
- October 26, 2009
- Like
- 1
- Continue reading or reply
Failed to parse wsdl, External schema import not supported Error is thrown.
Hi,
My task is to integrate PayPal using APEX.
I am trying to generate Apex class from PayPalSvc WSDL file.
When I use the "Generate from WSDL" option then browse for my WSDL and click the "Parse WSDL" button, I get the following error:
Error: Failed to parse wsdl: Found schema import from location CoreComponentTypes.xsd. External schema import not supported
xsd:import and wsdl:import are not supported (as the error message indicates).
I'm a newb, can you or someone explain or show me how to
"re-work the wsdl to have all the imported schemas in the wsdl document directly." ?
Location of PayPal WSDL and XSD Files
PayPal Schema : https://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
eBL Base Components and Component Types
https://www.sandbox.paypal.com/wsdl/eBLBaseComponents.xsd
https://www.sandbox.paypal.com/wsdl/CoreComponentTypes.xsd
How do I generate the Apex class?
Please shed some light on this.
Thanks in advance..!
- KrishnakumarJ
- September 19, 2009
- Like
- 0
- Continue reading or reply
BestPractices to upload file from local machine to salesforce.com.
How to upload file from local machine to salesforce.com.
Can you give some idea or sample on how to implement it...!!
It will be great if anyone could help on this..
Thanks in advance.
- KrishnakumarJ
- September 14, 2009
- Like
- 0
- Continue reading or reply
Is it possible to use java.util.Calendar in Apex class?..
Based current date I need to get the month start date and end date. I have done it using java..
java.util.Calendar cal = Calendar.getInstance();
Can anybody let me know whether it is possible to use java.util.Calendar in Apex class?.
If yes , sample example would be helpful.
- KrishnakumarJ
- September 12, 2009
- Like
- 0
- Continue reading or reply
Example Sample HelloWorld WebService needed
I need examples for the foll:
1) How to create Sample HelloWorld WebService using Apex?.
2) How to generate WSDL for this Sample HelloWorld WebService ?.
3) How to consume that Sample HelloWorldWebService in VisualForce page?..
Any Help would be appreciated.
- KrishnakumarJ
- September 11, 2009
- Like
- 0
- Continue reading or reply