microflow and content as data source

0
What is the difference between microflow and context as a data source?
asked
3 answers
0

Hi Abdallah,

 

The Context source is a data source of a data view. Data views with this data source get their object from the context (and over the context association), which can be one of two things:

  • A surrounding data container such as a data view or list view – in this case, the Entity (path) property should follow an association
  • A page parameter – a page parameter contains an object that is passed to the page when opening it (either another page passing that parameter or a microflow passing an object)

The page parameter for a top-level page will require you to create the (page parameter) object before opening the page.

 

A Microflow allows you to get whatever data you expose at the end. If the Microflow is feeding a Data View inside a surrounding data container, such as a data view or list view, the context can be used as a Parameter of the Microflow. 

 

I would use the context when it gets the job done as it is self-explaining. Having a Microflow as data source requires always opening it before the logic is clear.

https://docs.mendix.com/refguide/context-source/

 

Go Make It

 

 

answered
3

Hi,

 

Please refer below URLs,

https://docs.mendix.com/refguide/data-sources/

 

Database:

https://docs.mendix.com/refguide/database-source/

Microflow:

https://docs.mendix.com/refguide/microflow-source/ 

 

Thanks & Regards,

Manikandan K

answered
0

Hi,

 

Please refer below URLs,

https://docs.mendix.com/refguide/data-sources/

 

Database:

https://docs.mendix.com/refguide/database-source/

Microflow:

https://docs.mendix.com/refguide/microflow-source/ 

 

Thanks & Regards,

Manikandan K

answered