Glad to hear! Blocks have a feature called Widget Functions which can be called from the page. You can use a function to pass data using the functions params. dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/widget-api/blocks-widget-functions
Probably kinda late for this, but to test the api prop without building you just go to Configuration > Preview and click the link that says "Test API Properties".
Hi, have you checked this out? dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/publish-blocks-apps-to-the-app-market/publish-a-blocks-app-to-the-app-market
@@thewixwiz Yes I’m following all the tutorials but I was curious to know if the Wix team sent you extra requirements that were not listed in the SDK. I guess I misunderstood you.
Hey, i am trying to add items in a form to a collection but evry time it just gives me empty field in the console and my collection, i have checked the id names of the collection and elements no problem in there, heres the code import wixData from 'wix-data'; import wixLocationFrontend from 'wix-location-frontend'; $w.onReady(function () { $w('#loginDetailsTxt').text = "Please enter these details before continuing"; $w('#errorMsg').text = "Field empty/wrong format"; const insertObj = { "fullName": $w("#nameInput").value, "title1": $w("#emailInput").value
Perfect video! Thank you so much. Any one has idea on how to send data from page to the installed block, you are most welcome.
Glad to hear! Blocks have a feature called Widget Functions which can be called from the page. You can use a function to pass data using the functions params.
dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/widget-api/blocks-widget-functions
So useful as always
Probably kinda late for this, but to test the api prop without building you just go to Configuration > Preview and click the link that says "Test API Properties".
Thanks for sharing!
I am getting 403 error by calling backend functionality , have you faced this error
There are still a lot of issues with blocks especially when using other Velo APIs. I would recommend reporting the bug in the dev center.
Hi thanks for sharing the video, any chance you can share the requirements wix sent you for publishing to the wix market?
Hi, have you checked this out?
dev.wix.com/docs/build-apps/develop-your-app/frameworks/wix-blocks/publish-blocks-apps-to-the-app-market/publish-a-blocks-app-to-the-app-market
@@thewixwiz Yes I’m following all the tutorials but I was curious to know if the Wix team sent you extra requirements that were not listed in the SDK. I guess I misunderstood you.
Is it possible to import libraries? Like if I needed to use a library I found on GitHub to render music charts, is there a way to do that?
Only as an npm package. Or copying the entire code base.
Hi is any video on wix ticket events...?
Not yet but thanks for the suggestion! What are you trying to achieve?
That breakpoint bug has not yet been fixed
Maybe it's a feature 😛
Hey, i am trying to add items in a form to a collection but evry time it just gives me empty field in the console and my collection, i have checked the id names of the collection and elements no problem in there, heres the code
import wixData from 'wix-data';
import wixLocationFrontend from 'wix-location-frontend';
$w.onReady(function () {
$w('#loginDetailsTxt').text = "Please enter these details before continuing";
$w('#errorMsg').text = "Field empty/wrong format";
const insertObj = {
"fullName": $w("#nameInput").value,
"title1": $w("#emailInput").value
};
//,$w('#nameInput').value,$w('#checkbox1').value$w('#emailInput').value
$w('#loginBtn').onClick(() => {
if ($w('#emailInput').valid === true && $w('#nameInput').valid === true) {
wixData.insert("ChakraLogindetails", insertObj)
.then((item) => {
console.log(item);
})
.catch((error) => {
console.log(error);
})
//wixLocationFrontend.to("www.isolvelife.com/chakra-cards");
}
else {
$w('#errorMsg').show('fade');
}
});
});
console view:
fullName: ""
title1: ""
_id: "0dbf012c-729e-4bc9-af0f-f45cd15e4b37"
_owner: "ecd527f0-d2a0-4633-baf4-9777b5e0ffcc"
_createdDate: "Tue Jun 27 2023 03:37:17 GMT+0530 (India Standard Time)"
_updatedDate: "Tue Jun 27 2023 03:37:17 GMT+0530 (India Standard Time)"
any help would be appriciated
Hi 👋 for coding help I recommend posting on our forum www.thewixwiz.com/forum
Done