How to find the object type of particular database table or a web part or page type or form ?

Mb _Krishna asked on January 30, 2017 09:33

for instance I saw in one of the examples of integration bus it was mentioned to use new ObjectIntegrationSubscription(ConnectorName, TaskProcessTypeEnum.AsyncSnapshot, TaskTypeEnum.All, null,"bizformitem.bizform.%", null); to subscribe. How can we know "bizformitem.bizform.%"is the type to b used, because it did not work when i used predefinedObjectType.bizform !

Recent Answers


Roman Hutnyk answered on January 30, 2017 11:53 (last edited on January 30, 2017 13:13)

Documentation gives you an overview how to create integration task. In case with objects it would normally be [class].OBJECT_TYPE.

In your case ObjectType.bizform means form object, not its records, but "bizformitem.bizform.%" means every record of any form.

2 votesVote for this answer Mark as a Correct answer

Mb _Krishna answered on January 30, 2017 12:20

Hi Roman,

I have already gone through the documentation. Can you answer with reference to the example I have taken. My doubt is still not cleared.

0 votesVote for this answer Mark as a Correct answer

Anton Grekhovodov answered on January 30, 2017 12:33

Try to check what bizforms you have in database:

select * from cms_class where classname like '%bizform%'

Or try to add your site name.

0 votesVote for this answer Mark as a Correct answer

Mb _Krishna answered on January 30, 2017 12:48 (last edited on January 30, 2017 12:50)

Hi , I will give another example. In integration bus, when I am subscribing I need to specify to what object I need to subscribe to. So when I tried to subscribe to bizform such as product question in sample site Ecommerce using object "PredefinedObjectType.BizForm", It didn't work. It worked when I used "bizformitem.bizform.%". My doubt is, whats the difference between objects of type "PredefinedObjectType.BizForm" and "bizformitem.bizform.%". Why it's working for the latter not the former.

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on January 30, 2017 13:15

PredefinedObjectType.BizForm means biz form object (code name, display name, etc).

"bizformitem.bizform.%" means form record (single submission) of a form.

0 votesVote for this answer Mark as a Correct answer

Mb _Krishna answered on January 30, 2017 13:40

Hi Roman,

Thank you so much for the info. I'm sorry that I did not see your earlier answer completely. Earlier as you mentioned in your answer " bizformitem.bizform.% means every record of any form" . I found it difficult to find out this fact as I did not find it anywhere in the documentation. Can you please provide me documentation link regarding the object types in kentico, if there is any or let me know any other way to find out the object types.

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on January 30, 2017 14:12

Check out the API Examples or the API Documentation or some additional API Documentation

1 votesVote for this answer Mark as a Correct answer

Mb _Krishna answered on January 31, 2017 13:52 (last edited on January 31, 2017 13:55)

Hi guys,

In kentico 10 documentation I found this- "To find object type values, open the System application in the Kentico administration interface and select the Object types tab". Unfortunatly I'm using kentico 9 and I did'nt find any option like that in System application else I would have used this.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.