on 2024 Dec 03 5:06 PM
Hi MDK Experts,
We have defined and created a navigation for the MyWorkOrderHeaders entity set i.e.,ZXXX_Nav.
When we try to run the query in the gateway client also it works but when I try to query it by using the expand property or / it does not show any value, or it shows undefined.
const query1 = `$expand=ZXXX_Nav&$filter=ZXXX_Nav/ZOrderId eq '${context.binding.OrderId}'&$top=1`;
const query2 = `$expand=ZXXX_Nav&$filter=OrderId eq '${context.binding.OrderId}'`;
When I try to read the service and pass the query and put the result in the alert box the ZXXX_Nav is empty and does not show any fields/properties.
Can you please help me out here?
Request clarification before answering.
Since you mention Asset Manager, most likely the entity set the navigation property refers to is not part of the offline store so the data isn't available offline. Please ensure your offline initialization (and download depending on how you have it configured) includes the entity set referenced by the navigation property. You may need to run your download or reset the client to reinitialize the offline store.
You can also use ilodata with the UDB files to verify if the data is available offline as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.