pconkie Posted March 16, 2019 Share Posted March 16, 2019 (edited) //i've got this widget prefrence from the docs. internal_url: { type: "pagepicker", label: "Link to a frog page", defaultValue: JSON.stringify({ page_uuid: '', site_uuid: '' }) }, //i'm trying to open the site and sepecfic page selected //but there is no example in the docs... //this opens the site, but not to the correct page... Frog.Model.api('sites.getByUuid', { uuid: internal_url.site_uuid }).done(function(resp) { FrogOS.openSite({ site: resp.data.link, page_uuid: internal_url.page_uuid }); }); What do I need to change to get the correct page to show when the site is opened? Edited March 16, 2019 by pconkie Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now