Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example new Block creation tutorial #168

Open
djaus2 opened this issue May 31, 2024 · 5 comments
Open

Example new Block creation tutorial #168

djaus2 opened this issue May 31, 2024 · 5 comments

Comments

@djaus2
Copy link

djaus2 commented May 31, 2024

GraphQL etc coding is not my area of expertise. Would it be possible to have a short tutorial on how to add a couple of new simple blocks. HelloWorld and slightly above in complexity?

@ignatandrei
Copy link
Owner

I do not want enter into GraphQL intricancies. Too complicated for a HTTP call from Web.

@ignatandrei
Copy link
Owner

For new Block creation : please follow https://developers.google.com/blockly/guides/create-custom-blocks/overview

@ignatandrei
Copy link
Owner

What do you want to create?

@djaus2
Copy link
Author

djaus2 commented Jun 4, 2024

Thanks for the reply. It was a general query. I'll look into that Blockly tute.

In the meantime I have found a partial way around that. I create a controller called Misc in which I can put some C# coding in a Get method. I then can call it from Blockly with parameters, get the processed result and use that. I have used it to create a detailed menu string from a CSV string.

Will post on my blog site, but the build on Azure is failing.

@djaus2
Copy link
Author

djaus2 commented Jun 7, 2024

Here is my blog post on creating a Custom block via call to the Controller:
https://djzblogaccname137.z26.web.core.windows.net/softata/Softata-CustomBlocksviaASP.NETController-softata.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants