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
Cleophus PereiraCleophus Pereira 

Product2 not accessible to Salesforce Platform user license

Hi,

I am new to SalesForce and having research.  I had created developer free license user.
I had created two user with Salesforce Platform user license and one with System Administrator.  I observed i can accces data using system administrator. But while accessing the Product2 object using Salesforce Platform user license. It gives following error.

https://workbench.developerforce.com/restExplorer.php

select name,id from product2 ^ ERROR at Row:1:Column:21 sObject type 'product2' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.

Please need your help to understand why i can't access. Is this limitation because of license or i am doing something wrong here.

Thanks
Best Answer chosen by Cleophus Pereira
EnreecoEnreeco
Hi, in this link https://help.salesforce.com/HTViewHelpDoc?id=users_license_types_available.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=users_license_types_available.htm&language=en_US) you can find all info about licenses.
Another thing to check if your User's Profile has Read access on the Product2 object.

All Answers

EnreecoEnreeco
Hi, in this link https://help.salesforce.com/HTViewHelpDoc?id=users_license_types_available.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=users_license_types_available.htm&language=en_US) you can find all info about licenses.
Another thing to check if your User's Profile has Read access on the Product2 object.
This was selected as the best answer
Vinit_KumarVinit_Kumar
That's very much expected.You can't access Product2 with salesforce platform.

As per salesforce docs,

Users with this license are entitled to use core platform functionality such as accounts, contacts, reports, dashboards, documents, and custom tabs.Other than this they can use Connect offline and custom apps.

If Product2 is not documented,I suppose this is not accessible.

Hopw this helps !!
Cleophus PereiraCleophus Pereira
Thanks ForceLogic and Vinit Kumar for your replies.

After investigationg further based on your responses.  I figured out that the in order to access Product2 License should be "Salesforce" and Profile "Standard User or System Administrator".  The default Company Organization created for free user has limit of 2 license for Salesforce.   Whenever i tried to create third user it doesn't allow me to create one with Standard USer profile. May be we need to get account upgraded.

Is this correct?


Vinit_KumarVinit_Kumar
Cleophus,

For Dev edition org,you are only allowed to create 2 users with salesforce license,that's the limit.I am assuming that you are trying this in Dev edition org.

If this helps,please mark it as best answer to help others :)