Share

How Code Blocks could make drawback fixing simpler

[ad_1]

Due to the flexibleness of the Domo platform, you’ll be able to create options with information that may aid you reply even probably the most complicated enterprise questions.

Nonetheless, typically you can not even start to reply complicated enterprise questions with out first doing a little coding to reinforce or automate information.

Whereas some technical customers may not thoughts rolling up their sleeves and digging into SQL or R, this generally is a large hurdle for non-technical enterprise customers who’re on the lookout for solutions and don’t have time to kick off a brand new technical challenge.

Even some technical customers might marvel why they should reinvent the wheel and write the code from scratch when certainly it has already been written by any person else, someplace, in some unspecified time in the future.

So, we thought: Why not share a few of that code? That’s the thought behind Code Blocks, a brand new functionality now you can entry within the Domo Appstore.

What are Code Blocks?

Code Blocks are pre-written chunks of code that you may copy and paste. Whilst you possible have a file of comparable code chunks you reference repeatedly, prior to now there was no central place to simply search, discover, and share these snippets with others.

With Code Blocks, Domo customers now have a central library of pre-written code they will plug and play into their challenge, serving to save effort and time creating code from scratch.

Code Blocks can be found for the next languages:

  • Beast Mode
  • SQL
  • R
  • Python
  • Juptyer Notebooks

If you happen to’re a coder, this helps you save time writing code that’s already been written. As well as, Code Blocks are a good way to find and leverage current greatest practices by seeing how friends have solved a selected resolution.

If you happen to’re acquainted however not proficient with a language, Code Blocks additionally function nice references for studying how the code works. And in the event you’re not technical, this could prevent from having to place in a request for a technical useful resource to jot down code for you.

By utilizing already-existing code, you’ll be able to considerably scale back your time to worth and get extra accomplished.

Tips on how to work with Code Blocks

Utilizing Code Blocks is straightforward. Merely go to the Domo Appstore and both browse the Code Block functionality or seek for a Code Block.

When you’ve discovered the fitting Code Block, all you need to do is copy and paste it into the remainder of your code, alter the parameters, and also you’re accomplished.

Listed here are a number of extra issues value figuring out about Code Blocks:

  • Whereas Code Blocks are open-source, they’re solely accessible by means of the Domo Appstore. 
  • Code Block authors can go away notes within the code indicating which values may be modified. Be sure you change these values to suit your wants. For instance, if utilizing the Type Column Code Block, be sure to enter which column you need to kind.
  • Since you’re solely copying and pasting code (and never linking to it), take into account that the code won’t replace even when the Code Block itself receives modifications sooner or later. 

We’re at present onerous at work creating Code Blocks for the Domo Appstore. We’re additionally asking prospects and Domo consultants to submit their very own Code Blocks to allow them to share experience with the remainder of the group. To do this, click on right here. To study extra about Code Blocks, take a look at this web page in our Information Base.




[ad_2]

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *