Can I run multiple logic app from single master logic app - azure-logic-apps

Hi I have 16 logic app which load file from share point but I need to run all those separately.
Is there any way can I run all those 16 logic app from one master logic app.

Yes you could, the logic app support create the "child" Logic App. Then you could call nested Logic Apps directly from Logic Appps Designer.
If you want to run them in parallel, you could choose Add a parallel branch then call child Logic Apps.
Firstly ,your child Logic Apps need to be set with Manual – When an HTTP request is received trigger. Then go to the parent logic app add an action and search Logic App, then choose the Logic Apps you want.
About the details you could refer to this doc:Azure Logic Apps: Call nested Logic Apps directly from Logic Apps Designer.
Hope this could help you, if you still have other questions,please let me know.

Related

Can I share functions between main app and web workers?

I have a React app that involves some lengthy processing. I have 30 charts to display and need to calculate the data for each one.
The code to do these calculations is fairly complex.
I'd like a web worker to do the initial calculations for all 30 (to keep app responsive when first loaded).
However, I also need to recalculate each change on demand---if someone changes a chart parameters. This can block as it's fast enough.
I have the code for all the updates, but, I've realised I can't call that from the web worker. But, if I put all that code in the web worker, then I can't call it from my main app.
The chart calcs share a lot of common code. I could build a web worker for each chart, but then could I share a single function between them? It looks like I have to have the function defined inside the web worker.
Feels like I must be confused here as surely one doesn't need to write common code inside each web worker. Is there a way I can inject the code into the web worker?

Rendering a React Widget on third party site

i'm looking for some advice on how I should go about creating my next project. I would like to create an app that allows users to embed widgets on their own personal sites. An example would be, the user could create events on my app, and then copy code to embed on their site that would display the events.
My hope was that I would be able to give them a minfied/uglified script that would handle fetching their data from my app's api, and even possibly allowing someone using the widget to post data to my app. Is that feasible?
What I am really unsure of :
1) How would I handle fetching data from my server? Are there CORS/other concerns I need to handle when fetching it?
2) I dont want users to have to go to a url to render my code, I just want to provide the minfied/uglified/compiled to es5 code to them. How do I go about doing that?

Nested Logic Apps in Azure

Question about implementing nested Logic Apps in Azure: I do know Logic Apps currently doesn't support variables. Looking for other options.
I would like to pass the values back and forth between logic apps - I have seen a couple of articles on how to implement nested logic but they are not bidirectional. My challenge is to process the body that's coming from the child logic app and pass it over to another logic app as input. It's something like this I wanted to try.
ParentLogicApp:foreach(ActionName)
ParentLogicApp:Assign the Body to a variable(place holder)
ParentLogicApp:Call Specific ActionValue LogicApp
ChildLogicApp:In this logic app do the corresponding Action
ChildLogicApp:Return the updated Body to the parent logic app
ParentLogicApp:Update the Variable with the new value from Child
PartnerLogicApp:Call the next step child logic app passing the updated variable
I have tried to use Compose but was not able to update the value from the child logic app. Any ideas?
Thanks
To have a variable that's accessible from multiple logic apps, consider store it in DocDB and use DocDB connector to CRUD it.
You can pass data back-and-forth between logic apps, that is what body is for.
When calling a logic app, just put it in the request body for the call, then you can return whatever data back from that logic app in its response body.
For your scenario, you can definitely use variables and set them to a value you received from a logic app call, and use the new value to pass to a next logic app.

Share Angular2 Service across multiple windows

My website is built with Angular2. Imagine it as a big dashboard with a lot of modules. Sometimes information from multiple modules are required at the same time - therefore I want to allow my users to open a module in a new window. A real-world example for this is the video container of Hangout.
From my research there would be 2 ways to do this:
I open the route of the selected Ng-Component in a new window. As a result angular would reinit all services. To keep my data consistent I would need find a way to sync the instances. Maybe some kind of service that writes all attributes to localStorage?
This is somehow the way GoldenLayout implemented the Popouts.
I could init my component in window A and hide it - Now open a new window (B) and pass a copy (Css, HTML, Data) of my component to it. This would mean that I only need to sync the mirrored component, but I am not sure if this is good architecture.
Which way would you go to solve the described problem and are there more elegant solutions?

Angular : run sub modules as independant app into a parent app

I am trying to run, N time the same Angular module independently into a "parent" Angular App.
Using ui-route and ui-route-extra, i can display N time the child app, but they do not run independently : they shared services as singletons (I need a unique service instance for each child module instance), and changing state (via state.go or ui-sref) into a particular instance, change the state into all the others.
I cant find any way to run these child modules as independant app into a container app...
EDIT :
I will give you some background to avoid XY problem.
To make it simple, i build a chat system. I have built a standalone chat Angular App, anyone can integrate into its website (as a widget).
Now, i am trying to make an admin interface displaying all opened chat room. To avoid code duplication, i want to reuse the widget app into admin interface.
The problem is to separate behavior for each room. I need multiples services instances, and state change should be applyed into specific room.

Resources