MongoDB Input - Collections
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Using the MongoDB I am trying to produce a list of Collections and the Workflows/Objects that fall under each Collection.
Desired Output: (Example)
CollectionId | Name | OwnerId | DateAdded | App/Object Name |
1 | Collection 1 | 123 | DD-MM-YYYY | Workflow 1 |
1 | Collection 1 | 123 | DD-MM-YYYY | Workflow 2 |
2 | Collection 2 | 456 | DD-MM-YYYY | Workflow 3 |
2 | Collection 2 | 456 | DD-MM-YYYY | Workflow 4 |
I have read the documentation in the link below but I'm not still not sure how to proceed it getting the desired output. By Default the MongoDB outputs all nested values from the JSON string into columns but I want tall the nested values as rows.
http://downloads.alteryx.com/betawh_xnext/MongoInput.htm
Any help or assistance would be greatly appreciated.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @Scruse314 ,
I suggest you download the Usage Report from the licensing portal. There you will have many examples of interactions between MongoDB collections but also showing how to parse the output properly.
Best,
Fernando Vizcaino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
This is super helpful Mathieuf! Is this tool may also able to drag collection from a self built mongo db? Namely from a mongo db server not a local server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @somervill,
Yes you should be able to connect to any MongoDB. You might need to change the inputs to match your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I would try to have a simple workflow to start and not an app.
Also try to input user, password into the fields, like below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
