Skip to main content

Hello.


There is a function on monday SDK called execute and there is an action called addMultiBlocksFromHtml. I need to make a migration from Confluence to monday docs. Confluence returns the page content as HTML and I think that action on monday would help a lot.


I need to create that migration in a nodejs app. But when I try to use the execute function I receive an error: execute is not a function.


Is there any way to use the same function/action on server side? Could you guys help me to find another solution for this?


Thank you!

Hello there @marcelo1,


There is no way to do that from the server side.


What you want to do is to add HTML content to a workdoc? Is that the goal?


Looking forward to hearing from you 🙂


Cheers,

Matias


Hello @Matias.Monday


That’s exactly what I need.


The Confluence API returns the content as HTML and I would like to create a doc_block with it.


Do you think it is possible?


Thank you!


Hey @Matias.Monday


Do you think it’s possible to send a HTML string for creating a document block?


Hello there @marcelo1,


Sorry for the late reply. As of today, HTML can not be added via API.


Let me know if you have any other questions!


Cheers,

Matias


hi @Matias.Monday , so if monday.execute can’t be run on the server side, do you know how I can run: monday.execute(‘valueCreatedForUser’) for my integration app?


It’s a server side only app, there’s no client code. Or am I missing something? Thank you.


monday.execute('valueCreatedForUser') is currently only required for view apps not integration apps since the execute function doesn’t run on the server side.


But the reviewers are now requiring valueCreatedForUser to be used in all apps someplace - appearing to require even integration only apps to have a UI feature someplace that uses it. Such as a app settings feature.


That means now integration apps with no views have to create a view just to have valueCreatedForUser? Strange.


Apparently. I have no official word but multiple devs have now stated that they’ve been told they are required to have a valueCreatedForUser event to get approval.


@kolaai @anon29275264 I see. I’m also reaching out to technical support and I’ll update folks with their decision soon.


Requiring a ‘valueCreatedForUser’ call for integration app would defeat its purpose. If we need to make that call “inorganically” from the front end, the call won’t match when value is really created.


Which is esp. frustrating because the valueCreatedForUser statistics are only available to monday internally. They aren’t even a thing devs can use to get insight into something.


Hello everyone!


valueCreatedForUser is not necessary for apps where it can not be implemented.


If there is any confusion about it during your review process, please ask the review team to talk to me 😀


Reply