Asked by Jay on July 17, 2024
Answered by Twidget
Twidget supports one‑to‑many and many‑to‑many relationships and provides model features to define them easily.
You can connect to external data sources via API connections; native external database connectors are being expanded. External data storage is not currently counted against Twidget plan limits.
Connecting a marketplace to WooCommerce
Integrate WooCommerce’s API with your Twidget API. Twidget can connect to multiple websites — there’s no inherent limit to how many sites you can connect.
Referencing function input values
Use the Concat command to combine text with an input variable (e.g., "Hi there, " + NAME).
Per‑user data access and authentication
Yes. Add a field to your datastore to store the user's _id when saving data. Then filter GET, PUT, and DELETE operations so they only affect records that match the authenticated user's id. This enforces per‑user access control.
Custom functions, password validation, and data aggregation
You can create reusable custom functions through the no‑code builder. These functions can perform validations such as password complexity checks.
Data returned from the datastore can be manipulated and aggregated as needed within your endpoints or functions.
See the custom functions t...
Pushing game results between non‑WordPress and WordPress sites
Yes, if both Site A and Site B expose APIs. Use Twidget to retrieve results from Site A and push them to Site B’s API. You can configure an event to poll periodically or have Site A call your Twidget endpoint to trigger the update in real time.