Hello;
I have an html iframe which I want to include in the custom panel.
But I get the error:
Error fetching organization data: TypeError: sdk.organizations is undefined
Can you give me the documentation how I define this correctly?
this is the code part of it:
// Initialize the SDK
(async function() {
// Create a new instance of the SDK
const sdk = await new AppExtensionsSDK().initialize();
// Function to fetch and display organization address
async function displayOrganizationAddress() {
try {
// Fetch organization data from the SDK
const organizationData = await sdk.organizations.getCurrentOrganization();
const address = organizationData.address;
const city = organizationData.city;
const zip = organizationData.zip;
const street = organizationData.street;