When I try to create a new object I get the message "Primary Column property not set" I cannot see anywhere in the object creation page to set this.

 

Can someone direct me to where to set this property

I using the trial version

Like 0

Like

2 comments
Best reply

Hi Robert,

Typically, your object should have "BaseEntity" as it's parent. When BaseEntity is selected as the parent, it will inherit an Id column (plus others) and the Id column will be selected as the Id column for the object. The error is letting you know that the object does not have a column selected as the Id column (when you select BaseEntity as the parent it will select the Id column as the objects "Id" property).

Here's an example of what I mean: https://share.customerfx.com/ApuEljAl

Ryan

Hi Robert,

Typically, your object should have "BaseEntity" as it's parent. When BaseEntity is selected as the parent, it will inherit an Id column (plus others) and the Id column will be selected as the Id column for the object. The error is letting you know that the object does not have a column selected as the Id column (when you select BaseEntity as the parent it will select the Id column as the objects "Id" property).

Here's an example of what I mean: https://share.customerfx.com/ApuEljAl

Ryan

Ryan Farley,

Thanks Ryan, makes total sense.  I was coming at this from a DB perspective not an ORM object modeling perspective duh!

 

And thanks so much for thge video, that is awesome!

Show all comments

Hello, i have to move one field from a section detail tab to another tab, how can i do that?

 

Regards,

Like 0

Like

1 comments

Hello Alvaro,



Unfortunately, there is no basic tool to implement your business task. 

So, we recommend you create a new field on the tab.



Best regards,

Bogdan

Show all comments

my team would like to try Creatio products from Studio Free edition, and want to know the specification limit of its storage capacity and features. For example, how many processes that we could create and store in the free cloud environment. Thanks for any info.

Like 0

Like

0 comments
Show all comments

I implemented the auto numbering logic in client side. I am noticing that the Code is generated when the record is added manually. But not when record is added via a business process.

1. Record created by business process has empty code value

2. Created Manually

3. Business process

 

Like 0

Like

9 comments

Hello,

 

There are several ways of implementing numeration for records. Can you please specify how the numeration was added? Numeration functionality depends on how it was added. 

 

Best regards,

Angela

Angela Reyes,

 

I followed the client side implementation given in the article (Link). I created the code mask and last number system settings and added the code given in the article and changed the column name to UsrName - (Application Number).

 

Thanks 

Ramnath

RAMNATH SHARMA,

If you want to add records via business process it is better to use an example described in CASE IMPLEMENTATION ALGORITHM: SERVER-SIDE part of the link. This is happening because the code that should number records is not triggered when it is created via a process. Server-side implementation should fix it. 

 

Best regards,

Angela

Angela Reyes,

 

I have tried the server side implementation algorithm. But it does not seem to work right now. It also does not show any error while saving and publishing the object. There is no error on console in browser while adding a record manually.

I tried to see if I have missed anything but could not find any mistake. I can share screenshots of changes I have made in the object.

 

Thanks 

Ramnath

RAMNATH SHARMA,

 

Yes please provide us with screenshots of all settings you've set on your side so to create the auto-numeration.

 

Best regards,

Oscar

Oscar Dylan,

 

Here are the screen shots

1. Object in which I am implementing numeration - https://prntscr.com/synbnw

2. Column name - https://prntscr.com/synbo3

3. Event handler - https://prntscr.com/syncls

4. Process-

 a. Signal - https://prntscr.com/syncpl

 b. Conditional flow - https://prntscr.com/syncq1

 c. Script task 1 - https://prntscr.com/synd3h

 d. User task - https://prntscr.com/syndj2, user task code - https://prntscr.com/syndlq

 e. Script task 2 - https://prntscr.com/syndo8

 

Let me know if links are not working as I am not much familiar with Lightshot. 

 

Thanks 

Ramnath

 

Hello RAMNATH,

 

In this case you need to implement the Server Side logic, also when you generate records from some external integration, the Client side just works when the record is created inside the section.

 

Kinds Regards from Chile!

Julio.Falcon_Nodos,

I have tried the server side implementation but it does not work.

You can see the details of settings in the images I have shared above.

Regards

Ramnath

RAMNATH SHARMA,

If the process is added to "Before Record Adding" then it should trigger for processes. If this does not happen to try to debug this by using server-code debugging: 

https://academy.creatio.com/documents/technic-sdk/7-16/server-code-debugging

Show all comments