Flex Configuration Options - Examples
Scenario 1
You are the organizer of a conference with over 500 attendees. You want to create an AppBlock called "Agenda" that will list all 100 sessions for the conference.
- Would you want to organize the sessions into categories? Probably - you could categorize by "Day of the week" or by "Session Type". If you decide the answer is "yes", then you would want to choose "Yes" to organize items within a set of folders.
- Do you have an API that will server the data? If you're using the Flex AppBlock, probably not (check out the REST AppBlock). Answer "No".
- Would you want individual attendees to create new sessions? No! Select "No" for creating new content items.
- Would you want individual attendees to edit any of the sessions? Select "No" for editing/updating content.
- Would you want individual attendees to delete any of the sessions? Select "No" for deleting new content items.
Scenario 2
You are looking to reduce hospital re-admissions by providing an app to patients to track their medications. You want to create an AppBlock called "My Medications" where each end-user would be able to add and manage their medications.
- Would you want to organize their medications into categories? Probably not. Select "No" for organizing items within folders.
- Do you have an API that will server the data? If you're using the Flex AppBlock, probably not (check out the REST AppBlock). Answer "No".
- Would you want individual patients to create new medications? Yes! Select "Yes" for creating new content items.
- Would you want individual patients to edit their medications? Yes! Maybe the dosage changed. Select "Yes" for editing/updating content.
- Would you want individual patients to delete any of their medications? Yes! Maybe I entered a medication twice on accident. Select "Yes" for deleting new content items.
- Should the App User's content items be sent to the server? NO! This is important, especially for this use-case. You would only want the patient's medications to be tracked on their device; you do not want to send the information they enter back to a server. If this is functionality you want in your app, you'll need to check out OAuth and the REST AppBlock.