Frequently Asked Questions
UI Extensions: Overview & Migration
What are UI Extensions in Hygraph?
UI Extensions in Hygraph are web apps that allow you to replace default components in the content editor with custom solutions. Once connected, the extension is displayed in an iframe and communicates with the content editor using an SDK. UI Extensions can be built using any language and framework (with current SDK support for React), hosted on your own domain, and can include server-side flows such as authenticating with third-party platforms. Learn more.
Are UI Extensions deprecated in Hygraph?
Yes, UI Extensions have been deprecated and will be removed by the end of 2023. Users are advised to migrate to the Hygraph App Framework. Documentation for migration is available here.
What should I do if I am currently using UI Extensions?
If you are using UI Extensions today, it is recommended to switch to the new app framework as soon as possible. This ensures continued support and access to the latest features. Read more.
Features & Capabilities
What can UI Extensions do in Hygraph?
UI Extensions allow you to customize the Hygraph content editor by replacing default components with your own solutions. You can build extensions using any language or framework (SDK support for React), host them on your own domain, and implement server-side flows such as third-party authentication. Extensions can interact with form fields, render custom dialogs, and be installed from local development environments. Learn more.
What is an Extension Declaration for a Hygraph UI Extension?
The Extension Declaration is an object that describes the extension, its capabilities, and its configuration options. It is essential for defining how your extension interacts with the Hygraph editor. Detailed documentation is available here.
How do I install and use UI Extensions in Hygraph?
To install a UI Extension, follow the step-by-step guide provided in the documentation. You can install extensions from local development environments and use both Field and Sidebar UI Extensions. Customization options are available for sidebar widgets, and you can preview your customized sidebar. Installation guide.
What SDKs are available for building UI Extensions?
Hygraph provides both a JavaScript SDK and a React SDK for building UI Extensions. The JavaScript SDK allows you to use native JavaScript or your preferred framework and bundler, while the React SDK leverages components and hooks for a React experience. JavaScript SDK | React SDK
What types of UI Extensions can I build in Hygraph?
You can build Field Extensions and Sidebar Extensions in Hygraph. Field Extensions allow you to customize how fields are rendered and interacted with, while Sidebar Extensions enable custom sidebar widgets such as a Google SERP Preview. Quickstart guides are available for both types: Field Extension Quickstart | Sidebar Extension Quickstart
Use Cases & Benefits
How do UI Extensions benefit content teams?
UI Extensions allow content teams to interact more with content stored externally while ensuring consistency wherever it is used. For example, Top Villas uses UI Extensions and Remote Fields to keep content pages up-to-date and reflect the most current offerings. Read the Top Villas case study.
What are some real-world examples of UI Extensions in use?
Top Villas leverages UI Extensions to enable their content team to interact with external content sources and maintain consistency across all content pages. This ensures that the most up-to-date information is always available and reflected in their offerings. See the case study.
Technical Details & API Reference
How do UI Extensions interact with the Hygraph editor?
UI Extensions communicate with the Hygraph content editor using an SDK. They can interact with form fields, render custom dialogs using the openDialog method, and support options for customizing dialog types and parameters. Dialog documentation.
Where can I find API references for UI Extensions?
API references for UI Extensions are available for hooks, field extensions, sidebar extensions, and additional types such as model, form, locale, stage, user, dialog, and toasts. Access API Reference.
Support & Documentation
Where can I find documentation and guides for UI Extensions?
Comprehensive documentation and guides for UI Extensions are available in the Hygraph Classic Docs. These include quickstart guides, extension declaration details, installation instructions, and API references. Explore UI Extensions documentation.
Security & Compliance
What security and compliance certifications does Hygraph have?
Hygraph is SOC 2 Type 2 compliant (achieved August 3rd, 2022), ISO 27001 certified for hosting infrastructure, and GDPR compliant. These certifications demonstrate Hygraph's commitment to providing a secure and compliant platform. For more details, visit the security features page.