• Pooja05
  • NEWBIE
  • 25 Points
  • Member since 2009

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 34
    Questions
  • 32
    Replies

 

 We are getting the following error when we try to update/insert account using the enterprise wsdl via Web Sphere

 

Feature 'orgDisallowHtmlAttachments' not found

 

No HTML attachments are loaded in this request. It works properly when we connect to one sandbox and doesnt work when we connect to another. The settings for disallow html attachments is unchecked on all environments.

 

Any help with resolving this error is greatly appreciated.

 

 

Thanks,

Pooja

I am trying to make a custom picklist on a standard product object a required field.

 

However, I cant see the required checkbox on that field.

 

Am I missing something or is it not possible to make it required?

 

 

 

Thanks,

Pooja

When I enable single sign on is there any way to disable the login through the normal salesforce.com site?

I want the user to be forced to login only through the legacy system only.

 

Currently the user can login from legacy system as well as test.salesforce.com.

 

 

 

Thanks,

Pooja

Can someone help me understand how can an external service (I am testing using SOAP UI) update account object using the enterprise wsdl?

 

I am not able to see the object fields in the SOAP UI. It asks only for the object Id.

 

 

 

 

Thanks,

Pooja

Text from the salesforce.com Help

 

Before a new user has Single Sign On enabled in their profile, the admin sets them up as a new user, they receive their initial welcome e-mail with temporary password and they must sign on to Salesforce as a new user and set up their password. Then their profile may be changed to enable SSO.

 

Is there any way, in which the user could be added with the SSO enabled to begin with. Or does the system admin have to enable SSO for him after he logins the first time? Are there other options?

 

Users are created in our org by a feed from another system. So we would ideally like that system to enable SSO programmatically for us.

 

 

Any guidance will be extremely helpful

 

 

 

Thanks,

Pooja

We are rendering a page as the pdf in visualforce.

 

As a part of an interface, this pdf needs to be sent a response to a web service. 

 

Any pointers on how this can be done?

 

are there any salesforce.com specific restrictions or implementation considerations that need to be thought about before implementing the interface?

 

 

 

Thanks a lot,

Pooja

Is there any way in which we can restrict access to reporting.

 

For eg. a user has read access to particular record but he should not be able to report on it.

 

 

 

Thanks,
Pooja 

We are extracting the User Object using Informatica. We are able to see all the User fields except CommunityNickName(std field) , Manager (std Field), SAML Federation Id (Added for SSO).

There is no field level security enabled for these fields. Also, the username and password used by Informatica has System Admin privileges.

 

We face the same problems in different instances - my dev org, the client dev env, client sandbox env.

 

It would be helpful if someone could explain where am I going wrong with the extract? 

 

Thanks a lot for your help. Appreciate it.

 

 

 

 

Pooja

When I try to create an Apex class from the wsdl, it doesnt parse the wsdl. Salesforce.com throws the following error

 

Error: Failed to parse wsdl:Unable to find schema for element;

 

can anyone let me know how can I resolve the error?

 

 

Thanks,

Pooja

We are consuming a wsdl which has implemented exception handling. However it appears that Apex cannot handle exceptions thrown by web services. Has anyone faced this problem? Is there any work around which helps us get the actual exception thrown instead of a generic callout exception?  Thanks,Pooja
When we generate WSDL2Apex code for an SAP web service which has auto generated complex type it gives the following error
The following generated class(es) have compilation errors:
Error: getchar
Error: getchar.ZSdGetCharactWsV01Tmp_RfcException: Exception class must extend another Exception class at 4:18
Please note that the period in the complex type name of the wsdl has been changed to underscore in the auto generated class. This didn’t happen automatically when I implemented similar services in March. Could that be a reason for the error? Is there are any work around for solving this problem?

Is there a way to implement batch printing in apex?

 

We want the users to be able to print all the quotes selected from a list by click of one button.

I was not sure how we could call the windows print functionality and send all the documents to the printer for printing.

 

 

Please let me know if you have any idea about how this can be achieved

 

Thanks,

Pooja

when we use

 

webservice <datatype> <variablename>

 

it gets exposed as a element in the WSDL. However I need to expose it as a attribute.

 

Any idea how can I do that?

 

 

 

Thanks,

Pooja

Is there any way in which the delegate approver recieves notification email about pending approvals?

 

 

Thanks,

Pooja

Hi,

 

I want to render a page as PDF but the table has too many columns and looks messy in a potrait style layout.

 

How can I change it to landscape layout?

 

 

thanks,

Pooja

Product          LineType      Removal Reason

    x                      y            

    a                      b          input Field shoul appear

    r                       s     

 

 

I want to be able to show the inputField in Removal Reason Column only if the user selects b in the line Type column.

 

Is there any way in which I can make particular row within a table appear based on what the user selects?

 

 

 

Thanks,

Pooja

I am using the following code to submit request to the approval process

 

Approval.ProcessSubmitRequest req1 = new Approval.ProcessSubmitRequest();
req1.setObjectId(quote.id);

 

However it doesnt trigger the approval process. (I mocked up data such that it meets the approval critieria.)

 

When I click on the submit for approval button on the related list ProcessSteps (Approval History) included in the VF page, it works fine. But the custom code above doesnt work.

 

 

Can you please help?

 

 

Thanks,

Pooja

 

I have a custom VF page for a custom Object.

When the quote is created for the first time, the following code works fine

<apex:inputField value="{!quote.Comments__c}"/>

 

On click of save there is a insert quote command.

 

While editing the edited values are not reflected on the screen, as I try to change them they dont bind to the input field.

 

For e.g in a drop down value, when I change the value from Yes to No. It still shows Yes.

 

So when I go to Update Quote, it reads the value Yes instead of no. 

 

Can you please help?

 

 

Thanks,

Pooja

<apex:relatedList list="ProcessSteps" subject="{!quote.Id}"/>
<apex:relatedList list="Histories" subject="{!quote.Id}"/>

 

in the above code, Process Steps Related List Shows up correctly but the Histories related list throws an error.

 

'Histories' is not a valid child relationship name for entity Quote

 

However I can see Histories as a child Relationship name in the Salesforce schema.

 

Can you please help?

 

 

Thanks,

Pooja

<apex:outputText value="Use the same address as sold to"/>
    <apex:inputCheckBox value="{!useSameAddress}">
        <apex:actionSupport event="onchange" rerender="shipTo, billTo"/>
    </apex:inputCheckBox>
    <apex:pageBlockSection title="Partner Function Information"columns="2" collapsible="true">
     <apex:inputField id="shipTo" value="{!quote.Ship_To__c}" rendered="{NOT(!useSameAddress)}"/>
    <apex:inputField id="billTo" value="{!quote.Bill_To__c}" rendered="{NOT(!useSameAddress)}"/>

    </apex:pageBlockSection>

 

when I check the box, the input fields dont show up. The value of useSameAddress doesnt change. i have getter and setter functions for useSameAddress in the apex class.

 

Can you please help?

 

 

Thanks,

Pooja

We are rendering a page as the pdf in visualforce.

 

As a part of an interface, this pdf needs to be sent a response to a web service. 

 

Any pointers on how this can be done?

 

are there any salesforce.com specific restrictions or implementation considerations that need to be thought about before implementing the interface?

 

 

 

Thanks a lot,

Pooja

when we use

 

webservice <datatype> <variablename>

 

it gets exposed as a element in the WSDL. However I need to expose it as a attribute.

 

Any idea how can I do that?

 

 

 

Thanks,

Pooja

Is there any way in which the delegate approver recieves notification email about pending approvals?

 

 

Thanks,

Pooja

Hi,

 

I want to render a page as PDF but the table has too many columns and looks messy in a potrait style layout.

 

How can I change it to landscape layout?

 

 

thanks,

Pooja

I am using the following code to submit request to the approval process

 

Approval.ProcessSubmitRequest req1 = new Approval.ProcessSubmitRequest();
req1.setObjectId(quote.id);

 

However it doesnt trigger the approval process. (I mocked up data such that it meets the approval critieria.)

 

When I click on the submit for approval button on the related list ProcessSteps (Approval History) included in the VF page, it works fine. But the custom code above doesnt work.

 

 

Can you please help?

 

 

Thanks,

Pooja

 

I have a custom VF page for a custom Object.

When the quote is created for the first time, the following code works fine

<apex:inputField value="{!quote.Comments__c}"/>

 

On click of save there is a insert quote command.

 

While editing the edited values are not reflected on the screen, as I try to change them they dont bind to the input field.

 

For e.g in a drop down value, when I change the value from Yes to No. It still shows Yes.

 

So when I go to Update Quote, it reads the value Yes instead of no. 

 

Can you please help?

 

 

Thanks,

Pooja

<apex:outputText value="Use the same address as sold to"/>
    <apex:inputCheckBox value="{!useSameAddress}">
        <apex:actionSupport event="onchange" rerender="shipTo, billTo"/>
    </apex:inputCheckBox>
    <apex:pageBlockSection title="Partner Function Information"columns="2" collapsible="true">
     <apex:inputField id="shipTo" value="{!quote.Ship_To__c}" rendered="{NOT(!useSameAddress)}"/>
    <apex:inputField id="billTo" value="{!quote.Bill_To__c}" rendered="{NOT(!useSameAddress)}"/>

    </apex:pageBlockSection>

 

when I check the box, the input fields dont show up. The value of useSameAddress doesnt change. i have getter and setter functions for useSameAddress in the apex class.

 

Can you please help?

 

 

Thanks,

Pooja

Hi :

I am trying to modify what I wrote due to what the users want to see...

Which is:

Weekending          Monday    Tuesday    Wednesday ...

     Date               Draw Net  Draw Net   Draw Net

So I tried colspan=2 when it gets to Monday but it is not working correctly:

<apex:page standardcontroller="SFDCFEED__c" extensions="SalesByAccountTableController" id="thePage" tabStyle="Account"> <apex:pageblock > <apex:pageBlockSection title="Sales Detail Information" collapsible="false" columns="1"> <apex:pageBlockTable value="{!fed}" var="account" border="1" cellspacing="0" cellpadding="0" style="font-size:11px; font-family:garamond;"> <apex:column headerValue="Weekending Date"><apex:outputField value="{!account.SIS_DATE__c}"/></apex:column> <apex:column headerValue="Monday"colspan="2">Draw <apex:outputField value="{!account.SIS_MON_DRAW__c}"/> <apex:outputField value="{!account.SIS_MON_NET__c}"/></apex:column> <apex:column > <apex:facet name="header">Tuesday<br/>Draw</apex:facet> <apex:outputText value="{!account.SIS_TUE_DRAW__c}"/> </apex:column>

Thank you for helping

Shan

Hello VF Gurus,

I have created a Custom VF Screen with a Custom Controller.

The issue is that i am unable to show the Approval History related list on the Custom Screen, even though i am using the below code:

<apex:relatedList list="ProcessSteps" ></apex:relatedList>

Can someone please let me know what is that i am missing out here. Seems to be a very simple thing to do ... somehow still stuck :(

Any help will be very useful!!

Thanks,

Cool_D

P.S: I have already created an Approval Process for the Custom Object.

hi
 
how can i display a string value in a new line ?
 
 
In Apex class i am retrieving Description field and assigning that value to a string of Invoice object. now i am concatenating some value to that String value and assigning to the description field.
 
Now in the Invoice Screen, i want to display that Concatenated string value in a new line.
 
i.e. description = old value  
                            Concatenated value
 
so how can i display in a new line using apex class.
Get following error when generate apex class from wsdl file. Could anyone please help provide some insight? Thanks!
 
The following generated class(es) have compilation errors:
Error: inthubCrmserviceWsdl
Error: Dependent class is invalid and needs recompilation:
inthubCrmserviceTypes: line 34, column 18: inthubCrmserviceTypes.IntHubException: Exception class must extend another Exception class at 12:13
 
//Generated by wsdl2apex
public class inthubCrmserviceWsdl {
    public class CrmProcessorPort {
        public String endpoint_x = 'http://dapp1:57050//CRMService';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        private String[] ns_map_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/wsdl', 'inthubCrmserviceWsdl', 'http://inthub.prod.netsol.com/CRMService/types', 'inthubCrmserviceTypes'};
        public void submitForm(inthubCrmserviceTypes.Credential Credential_1,inthubCrmserviceTypes.FormRequest FormRequest_2) {
            inthubCrmserviceTypes.submitForm request_x = new inthubCrmserviceTypes.submitForm();
            inthubCrmserviceTypes.submitFormResponse response_x;
            request_x.Credential_1 = Credential_1;
            request_x.FormRequest_2 = FormRequest_2;
            Map<String, inthubCrmserviceTypes.submitFormResponse> response_map_x = new Map<String, inthubCrmserviceTypes.submitFormResponse>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              '',
              'http://inthub.prod.netsol.com/CRMService/types',
              'submitForm',
              'http://inthub.prod.netsol.com/CRMService/types',
              'submitFormResponse',
              'inthubCrmserviceTypes.submitFormResponse'}
            );
            response_x = response_map_x.get('response_x');
        }
    }
}

Error: inthubCrmserviceTypes
Error: inthubCrmserviceTypes.IntHubException: Exception class must extend another Exception class at 34:18
//Generated by wsdl2apex
public class inthubCrmserviceTypes {
    public class submitForm {
        public inthubCrmserviceTypes.Credential Credential_1;
        public inthubCrmserviceTypes.FormRequest FormRequest_2;
        private String[] Credential_1_type_info = new String[]{'Credential_1','http://inthub.prod.netsol.com/CRMService/types','Credential','1','1','true'};
        private String[] FormRequest_2_type_info = new String[]{'FormRequest_2','http://inthub.prod.netsol.com/CRMService/types','FormRequest','1','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{'Credential_1','FormRequest_2'};
    }
    public class Credential {
        public String password;
        public String userName;
        private String[] password_type_info = new String[]{'password','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] userName_type_info = new String[]{'userName','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{'password','userName'};
    }
    public class FormRequest {
        public String action;
        public String clientRef;
        public inthubCrmserviceTypes.FormData[] formData;
        public String productInstanceId;
        public String webformInstanceId;
        private String[] action_type_info = new String[]{'action','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] clientRef_type_info = new String[]{'clientRef','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] formData_type_info = new String[]{'formData','http://inthub.prod.netsol.com/CRMService/types','FormData','0','-1','true'};
        private String[] productInstanceId_type_info = new String[]{'productInstanceId','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] webformInstanceId_type_info = new String[]{'webformInstanceId','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{'action','clientRef','formData','productInstanceId','webformInstanceId'};
    }
    public class IntHubException {
        public Integer errorCode;
        public String vendorErrorCode;
        public String vendorErrorMessage;
        public String message;
        private String[] errorCode_type_info = new String[]{'errorCode','http://www.w3.org/2001/XMLSchema','int','1','1','false'};
        private String[] vendorErrorCode_type_info = new String[]{'vendorErrorCode','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] vendorErrorMessage_type_info = new String[]{'vendorErrorMessage','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] message_type_info = new String[]{'message','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{'errorCode','vendorErrorCode','vendorErrorMessage','message'};
    }
    public class submitFormResponse {
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{};
    }
    public class FormData {
        public String answer;
        public String name;
        public String question;
        private String[] answer_type_info = new String[]{'answer','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] name_type_info = new String[]{'name','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] question_type_info = new String[]{'question','http://www.w3.org/2001/XMLSchema','string','1','1','true'};
        private String[] apex_schema_type_info = new String[]{'http://inthub.prod.netsol.com/CRMService/types','false'};
        private String[] field_order_type_info = new String[]{'answer','name','question'};
    }
}
I have a live application on AppExchange that has been working for many months.  It uses a Session to login.  A Salesforce Sales Engineer has it installed in a demo org of their's and he gets the error message INVALID_SESSION_ID: Invalid Session ID found in SessionHeader: Illegal Session when it makes the getUserInfo call.  I have been working with him and have access to his org and know that the initial Session connection is being made (I have seen it connect in my code).  However, once the code makes the getUserInfo call, it gives that error message above.

I don't know if there is anything special about demo orgs, but from what I can tell, it looks fine.  In fact, he used this same org to connect to my system several months ago.

This org is on NA1.  I have other DE and EE orgs on NA1 that work with no issues.  It's just this one.

I am using the latest and greatest PHP toolkit.

Thoughts?
  • March 18, 2008
  • Like
  • 0