Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > OData - get additional props from Entity

Forum

Search UsersRules
OData - get additional props from Entity
#1
Just came
Points:: 0
Joined:: May 17, 2021

Dear collegues,
I try to access to my database via Odata interface. I stuck with little problem - I want to access user-provided data in Entity, that places in "additional props" (Я не знаю, как точно это называется в английской конфигурации - "дополнительные реквизиты" короче)

For example, I create user-defined property to entities "Warehouses" (Склады). Let's call it "space", where user can enter square meters of warehouse.

But when I get Entity by Rest client, array of additional props is empty - [].

How to get additional props by Odata in 1C>

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Dear Denis,

when you publish the OData interface, you use a special data processor to specify what data will be available through the REST API.

Since additional attributes of objects in typical 1C programs are usually stored in the "AdditionalAttributesAndInfoSets" catalog, try to open access via the REST API for this catalog as well.

By the way, our blog has an article on working with OData: https://1c-dn.com/blog/synchronization-between-a-mobile-app-and-a-database-server-on-the-1c-platform/

And please Denis - our forum is read by developers from different countries who do not always understand Russian. Therefore, for general convenience, we use English.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.