• KrishnakumarJ
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 11
    Questions
  • 8
    Replies

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.

 

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> 

 

 

 

 

 


Is there any way to integrate our own dataset with salesforce report templates?
 
Krishna 

Is that possible to do Mutiple Rerendering in a VF Page ?

Please share the samples or experiences if any. 

 

Thanks,

krishna 

How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
 
Regards,
KK 

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..!

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.

 

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.

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.

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.

 

 

 

 

 

 

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.

 

 

How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
 
Regards,
KK 

How to store variables in Session and how to access that Session Variable in Apex Page & in Contoller?.
 
Regards,
KK 

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..!

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.

 

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.

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.