function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SubaKrishSubaKrish 

Trouble performing upsert on Task Object while using API with Professional Edition

Hi

We have a partner token to integrate with Professional Edition. Things seem to be working fine when the app reads data from Salesforce.com.

I am using the partner token while login (VB.NET code)

                    callOpts = New CallOptions
                    callOpts.client = profEditionToken.Trim

                    Me._api.SessionHeaderValue = New sforce.SessionHeader
                    Me._api.CallOptionsValue = callOpts

However when I am trying to write data back using Upsert , salesforce.com does not return any of the custom fields that were created in my installation package.

More specifically Me._api.describeSObject("task")  does not return any of the custom fields.  Why is this ?

I read another post and even added the custom fields to the Task Page Layout.

Any inputs is greatly appreciated.

Thanks!

Benjamin_PirihBenjamin_Pirih
I think this is a limitation of the partner wsdl.  try the enterprise.. do you have access to this?
SubaKrishSubaKrish

Hi

Thanks for getting back to me. Its not a limitation actually. I resolved the problem by adding the custom fields to the Object's Page Layout and viola ! they were available via the API.

This is not documented anywhere - atleast not any place i was able to search and find the answer. I tried this out while reading another  post on Professional editions :)

-Suba