Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I am able to create a new odag link via odag service api. But now I want to create an app navigation link object in the app UI pointing to this link created. And also I need to create a navigation point object in some of the sheets. How to do this via the QlikSense.Net SDK.
I have tried creating a generic object like this, but it is not reflecting in the app.
var qMetaDefAbs = new AbstractStructure();
qMetaDefAbs.Set<string>("odagLinkRef", "the-link-id-created");
var prop = new GenericObjectProperties();
prop.Info = new NxInfo()
{
Type = "odagapplink",
};
prop.Set<AbstractStructure>("qMetaDef", qMetaDefAbs);
var result = app.CreateGenericObject(prop);
am I missing something here ?
Any insights, experiences, or example resources you can share on this would be much appreciated.
Thanks in advance!
I can't say I know much about this part of the API, but I see the "qMetaDef" property contains a timestamp as well. Don't know if it will make a difference or not though, but could be worthwhile to try setting one. It's a Unix timestamp (ms since 1 January 1970).
Also, you need to enable ODAG in your tenant, but I kind of assume you have already done that?
Thanks for the reply @Øystein_Kolsrud .
Yes. Certainly ODAG is enabled.
I've tried setting timestamp as well, but it is not making any difference as you expected.
Can i do it using Qlik Sense REST api ?