-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
3Questions
-
0Replies
classes from enterprie wsdl
Hi,
I am working on Enterprise WSDL and I took WSDL from SFDC platform,
I am getting the following error while generating apex classes from WSDL :
Error: sobjectEnterpriseSoapSforceCom
Error: Invalid type: enterpriseSoapSforceCom.QueryResult at 40:16
Error: enterpriseSoapSforceCom
Error: unexpected token: 'delete' at 507:54
please suggest the solution.
Thanks,
-
- alokmishrajaipur
- October 25, 2010
- Like
- 0
- Continue reading or reply
How to achieve multitenancy.
Hi I am quite new to the cloud developement i have few question
1. How can i make my application multitenant. so that it can be configured according to ones need.
Is there any Step by step guide available or some configuration needed. Please help
2. In the above situations i want to have some part of data of all the tenants be shared by their customers. i.e. If tenant A has its customer C1 and who is also customer of the tenant B, then in this case C1 should, in his page, have access to its data from both the tenants A and B.
-
- alokmishrajaipur
- October 22, 2010
- Like
- 0
- Continue reading or reply
Date value is not getting
Hi,
I am selecting date from datepicker and setting that date in controller but date is not getting set.
I am taking two date fields in object and then using that.
Given below is my code, can anyone suggest....where i am going wrong?
<apex:page standardController="Retailer1__c" showHeader="false" extensions="NewRetailerHomeController">
<apex:form>
<b> CUSTOMER HOME </b>
<br/><br/>
<apex:pageBlock>
<apex:inputField value="{!Retailer1__c.From_Date__c}"/>
<apex:outputText value="TO DATE"></apex:outputText>
<apex:inputfield value="{!Retailer1__c.To_Date__c}"/>
</apex:pageBlock>
<apex:commandButton value="Go" action="{!Go}" reRender="getTransaction"/><br/><br/>
<apex:pageBlock>
<apex:pageBlockTable value="{!Detail}" var="det" id="getDetail">
<apex:column value="{!det.ReceiptId__c}" headerValue="RECEIPT ID"/>
<apex:column value="{!det.SysDate__c}" headerValue="DATE AND TIME"/>
<apex:column value="{!det.CustomerId__r.CustUserName__c}" headerValue="CUSTOMER NAME"/>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
public class NewRetailerHomeController {
public NewRetailerHomeController(ApexPages.StandardController controller) {
}
public Date From_Date{get; set;}
public Date To_Date{get; set;}
public List<ItemTransaction__c> getDetail()
{
system.debug('from date --'+From_Date);
system.debug('from date --'+To_Date);
if(From_Date != null && To_Date != null){
return [SELECT ReceiptId__c, SysDate__c , ItemTransaction__c.CustomerId__r.CustUserName__c FROM ItemTransaction__c where SysDate__c >= :From_Date and SysDate__c <= :To_Date];
}
return null;
}
public pageReference Go()
{
return null;
}
}
-
- alokmishrajaipur
- October 15, 2010
- Like
- 0
- Continue reading or reply