BookmarkSubscribeRSS Feed
EyalGonen
Lapis Lazuli | Level 10

Looking at https://developer.sas.com/sdk/vi/apiDocs/index.html I see an example code that uses the StoredObjectDTO object but I cannot find any documentation about it within the SDK documentation. It seems like @sassoftware/vi-api/svi-datahub is completely undocumented even though it appears in the example code which is kind of odd...

Where can I find the doc for @sassoftware/vi-api/svi-datahub?

 

import { SviWindow } from "@sassoftware/vi-api";
import { StoredObjectDTO } from "@sassoftware/vi-api/svi-datahub";

const sviWindow = window as SviWindow;
sviWindow.sas.vi.metadata.getEntity("person").then((entity: StoredObjectDTO | undefined) => {
    if (entity) {
        console.log("Retrieved entity:", entity.label);
    }
});

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Discussion stats
  • 0 replies
  • 138 views
  • 0 likes
  • 1 in conversation