- changed status to resolved
Work.com Employee object is not being recognized by IC2 and not generated in the symbol table.
Issue #2064
resolved
Setup a scratch with the following features
"WorkplaceCommandCenterUser",
"ForceComPlatform",
Now you should be able to use the Employee object in apex classes to do queries and create records.
However IC2 doesn’t recognize it as a valid Object. Regenerating the OST doesn’t regenerate it.
Comments (5)
-
repo owner -
reporter Hey Scott,
I don’t see that feature license?
Is it the WDC User? My user does have the other permissionsetlicense
-
repo owner I created the attached permission set and assigned it to my user (who also has the permission set license).
-
reporter Thanks Scott, that did it, you da man. I had the first one, just must have missed the second one.
Mike
-
repo owner Glad that did it! I'm just glad that in the end it makes more sense than it seemed to at first...
- Log in to comment
Okay, I figured this out. This documentation pretty much says it all:
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_employee.htm
specifically the following:
If I give the IC2 connection user the two items listed above and then generate the OST, the Work.com SObjects are properly included in the OST.
Let me know if that doesn't resolve this issue for you.