• loveLearning
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
Can we write the trigger for the Account Team?

I need to write some validatio/trigger on attachment object. Is there any possibility of doing that ?

<?xml version="1.0" encoding="UTF-8" ?>

- <wsdl:definitions name="si_sfdc_customer_poc_ob" targetNamespace="http://diesl.com/sfdc/testingobjects" xmlns:p1="http://diesl.com/sfdc/testingobjects" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation />- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="Envelope">- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="Header" type="xsd:string" form="qualified" />
- <xsd:element name="Body" form="qualified">
- <xsd:complexType>- <xsd:sequence>
- <xsd:element name="MT_CUSTOMER_REQUEST" form="qualified">
- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="CustomerNumber" type="xsd:int" form="qualified" />
  <xsd:element name="CompanyCode" type="xsd:string" form="qualified" />
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="Customer_Response">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element name="CustomerName" type="xsd:string" form="qualified" />
  <xsd:element name="Name" type="xsd:string" form="qualified" />
    </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="xmln.Envelope">
  <wsdl:documentation />
 
I am unable to generate the apex2 wsdl as it is giving me parse error as target namenspace not found and if i copy paste the target namesapce in the schema ; it giving error as unablt to generate apex code as schema element not found for , customer response;

any one knows how to use the BULK API feature with Flex web applicatin

Hi Guys,

 

Can we use radiobutton to select just one record in apex:pageblocktable.

<apex:pageblocktable value="{!Contacts}" var="d" id="contacts">
<apex:column headervalue="Select contact">
<apex:actionsupport action="{!selectcon}" event="onclick" rerender=" ">
<input type="radio" />
<apex:param name="conid" value="{!d.Id}">
</apex:param></apex:actionsupport>
</apex:column>

 

My problem here is that I am able to select multiplre records.

i just want to select one record with help of radio button.

 

kindly suggest something.

i dont want to use a checkbox.

 

 

Totally new to code, I am trying to integrate DYMO LabelWriter Printer into Salesforce.com

 

The direction say to paste the follow code into the page editior:

 

<apex:page id="printAddressPage" standardController="Contact" extensions="PrintAddressExtension">
    <apex:includeScript value="{!$Resource.DymoFramework}"/>

    <div style="padding-bottom:6px">
        <apex:outputLink value="{!URLFOR($Action.Contact.View, $CurrentPage.parameters.id)}">
            Back to {!paObject.Contact.FirstName} {!paObject.Contact.LastName} detail page
        </apex:outputLink>
    </div>

    <apex:form >
    </apex:form>

</apex:page>

 

The next intruction says to create a singleton: paObject, but were in the above code to paste the following:

 

 

public class PrintAddressExtension

{

public PrintAddressExtension(ApexPages.StandardController controller)

{

 }

public class PaObject

{

private Contact m_contact; public PaObject() { Id id = System.currentPageReference().getParameters().get('id'); m_contact = id == null ? new Contact() : [Select Id, FirstName, LastName, MailingStreet, MailingCity, MailingState, MailingCountry, MailingPostalCode FROM Contact WHERE Id = :id]; } public Contact getContact() { return m_contact; } // contact full name public String getContactFullName() { if (m_contact == null) { system.Debug(logginglevel.ERROR, 'PaObject.m_contact is null'); return ''; } return m_contact.LastName + ', ' + m_contact.FirstName; } } private paObject m_paObject; public PaObject getPaObject() { if (m_paObject == null) { m_paObject = new PaObject(); System.debug(logginglevel.INFO, 'singleton PaObject is created'); } return m_paObject; } }

 

 

 

<?xml version="1.0" encoding="UTF-8" ?>

- <wsdl:definitions name="si_sfdc_customer_poc_ob" targetNamespace="http://diesl.com/sfdc/testingobjects" xmlns:p1="http://diesl.com/sfdc/testingobjects" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation />- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <xsd:element name="Envelope">- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="Header" type="xsd:string" form="qualified" />
- <xsd:element name="Body" form="qualified">
- <xsd:complexType>- <xsd:sequence>
- <xsd:element name="MT_CUSTOMER_REQUEST" form="qualified">
- <xsd:complexType>
- <xsd:sequence>  <xsd:element name="CustomerNumber" type="xsd:int" form="qualified" />
  <xsd:element name="CompanyCode" type="xsd:string" form="qualified" />
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="Customer_Response">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element name="CustomerName" type="xsd:string" form="qualified" />
  <xsd:element name="Name" type="xsd:string" form="qualified" />
    </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="xmln.Envelope">
  <wsdl:documentation />
 
I am unable to generate the apex2 wsdl as it is giving me parse error as target namenspace not found and if i copy paste the target namesapce in the schema ; it giving error as unablt to generate apex code as schema element not found for , customer response;

even i enabled translation workbench this error is occuring while entering to the workbench environmet through salesforce Account,Please can anyone help me how to resolve my prbm..?

 

An error has occurred and you have been logged out:
API_DISABLED_FOR_ORG: API is not enabled for this Organization or Partner

  • November 19, 2011
  • Like
  • 0