Skip to main content
Hi,

 

I have created a custom filed in the Solution object but when I try to access that field from an desktop client, the field is not recognized.

 

Same  "code" works nicely for custom fields in other objects like Case, Account and Opportuniuties.

 

Sample code:

 

SFwservice.

SFwservice.

 

{ .....

 

Fails with exception:

 

INVALID_FIELD:

 

SELECT Id,FAQType__c FROM Solution

 

          ^

 

ERROR at Row:1:Column:11

 

No such column 'FAQType__c' on entity 'Solution'.

 

The field is of Picktype, but I have used such fields before with other objects.

 

The wsdl is imported and the field is recognized by the Intellisence in VisualStudio, I'm using c#

 

This is the only custom field I have in the Solution object.

 

Anyone having simular experience? e.g. is there a limitation to Custom fields in the Solution object?

 

Best regards

 

Reidar Rekdal

 

DNV Software

sObject [] tmpentry = sfwservice.retrieve( "Id,FAQType__c" , "Solution" , new string [] {

vv.Id, "" }); Solution faq = (SFwservice. Solution )tmpentry[0]; if (faq.FAQType__c == null )
6 respuestas
  1. 11 ene 2012, 12:54
    Yes, and also with multiple standard fields , e.g. Id and SolutionNumber.

     

    My first thought was that the field had restrictions, but the main addminstrator said that privilges were the same.

     

    I'll probably end up doing this manually, it's a one time operation and will take me less that an hour manually and possibly lesser with the office integration. 

     

    At this point I'm  mostly curious why this happens to this field as I do this all the time to add/modify or monitor data in SF and also on custom fields.
0/9000