How do i set a category on a new company? #17
Closed
PPetterssonSO
started this conversation in
General
Replies: 2 comments
-
|
Hello @Nawksen, Exciting that you are starting to test typescript for SuperOffice! This is based on the same functionality as the @superoffice/webapi package. So in this case I will refer you to our sample on docs, as it (hopefully) explains what you are after. const agent = soApi.getContactAgent();
let entity = await agent.createDefaultContactEntityAsync();
entity.category.id = 1;Have a SUPER day! //Eivind |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
So, no more NSCategory, im so, so, so very happy! Regards |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We have started to really look into Crm typescript, so there will be quite alot of questions comming your way.
So, lets start simple, using createDefaultContactEntityAsync, how do i set the category?
It reffers to SO.Category, but, where can i find that?
What im trying to achive in crmscript:
NSContactEntity y;
NSCategory x;
x.SetId(123);
y.SetCategory(x);
Beta Was this translation helpful? Give feedback.
All reactions