I'm trying to develop a content app to download a csv with the info of registered members of my website.
I created a simple manifest with these properties:
{
// define the content apps you want to create
"contentApps": [
{
"name": "Log Users", // required - the name that appears under the icon
"alias": "logUsers", // required - unique alias for your app
"weight": 0, // optional, default is 0, use values between -99 and +99 to appear between the existing Content (-100) and Info (100) apps
"icon": "icon-calculator", // required - the icon to use
"view": "~/App_Plugins/logUsers/logUsers.html", // required - the location of the view file
"show": [
"-content/*", // hide for all contents
"-media/*", // hide for all media
"+member/*" // show for all members
]
}
],
// array of files we want to inject into the application on app_start
"javascript": [
"~/App_Plugins/WordCounter/logUsers.controller.js"
]}
However, the new tab does not display anywhere nor in the members page, neither in the member detail page.
If I change the -content to +content the app display correctly in content pages.
I would love to know too, I have the exact same issue. You will see the content app when you click on a Member, but not when you view all Members.
I use this code and it appears on an individual Member:
{
// define the content apps you want to create
"contentApps": [
{
"name": "Export Members", // required - the name that appears under the icon
"alias": "exportMembers", // required - unique alias for your app
"weight": 0, // optional, default is 0, use values between -99 and +99 to appear between the existing Content (-100) and Info (100) apps
"icon": "icon-paper-plane", // required - the icon to use
"view": "~/App_Plugins/ExportMembers/exportmembers.html", // required - the location of the view file
"show": [
"-content/*", // hide for content type 'homePage'
"+member/*", // show for all other Member types
"+members/*", // show for all other Member types
]
}
],
// array of files we want to inject into the application on app_start
"javascript": [
"~/App_Plugins/ExportMembers/exportmembers.controller.js"
]
}
Warning: be sure to hard refresh to see it. If unsure, close down Visual Studio and and hard reload on startup.
Can't display content app in Members tab
I'm trying to develop a content app to download a csv with the info of registered members of my website. I created a simple manifest with these properties:
However, the new tab does not display anywhere nor in the members page, neither in the member detail page. If I change the -content to +content the app display correctly in content pages.
What am I doing wrong?
I would love to know too, I have the exact same issue. You will see the content app when you click on a Member, but not when you view all Members.
I use this code and it appears on an individual Member:
Warning: be sure to hard refresh to see it. If unsure, close down Visual Studio and and hard reload on startup.
I have just implemented this with a Custom Dashboard. See https://our.umbraco.com/documentation/extending/dashboards/
This is the way to go, a content app is not appropriate for a Members Export
Thanks for your answer, In the end I used a content app, but created a custom content to display it. Your solution is better though, thanks
is working on a reply...