hclcnx / customizer

App Dev Resources for HCL Connections Customizer
https://opencode4connections.org/
15 stars 28 forks source link

Preview extension #40

Open MarcusICL2 opened 5 years ago

MarcusICL2 commented 5 years ago

How do we use the App Registry to access the Preview extension point for turning off CR4 gatekeepers for the whole org or a set of users or groups?

mgleland commented 5 years ago

Hi Marcus - here are some quick instructions, happy to clarify anything if this doesn't help!

First, as an admin, go to organization extensions, and then go to the new apps manager from the first extensions page. Create a new app called "com.ibm.connections.defaults", create an extension in service Connections of type com.ibm.connections.preview. Go to the extensions editor, and you can define your payload to specify included or excluded users or groups - a sample json for the application is below:

{ "name": "com.ibm.connections.defaults", "title": "Example 'com.ibm.connections.defaults' Application", "description": "Example 'com.ibm.connections.defaults' Application", "services": [ "Connections" ], "extensions": [ { "name": "PreviewExtension", "type": "com.ibm.connections.preview", "payload": { "include": { "user-email": "myname@mycompany.com", "user-group": [ "EarlyAdoptors" ] }, "exclude": { "user-email": "otherperson@mycompany.com" } } }, { "name": "EarlyAdoptors", "type": "com.ibm.connections.user.group", "payload": { "user-email": [ "user1@mycompany.com", "user2@mycompany.com" ] }, "path": "EarlyAdoptors" } ] }

Hope this helps!

BerndGewehr commented 5 years ago

Is there currently anything in CE cloud that this extension can change? I did not find any impact on a quick check...

mgleland commented 5 years ago

Hi - sorry for the delay, I needed to do some research to get the right answer. Today in cloud, the preview feature set affects three things: Enabling/disabling the new Community card view in the Catalog page), the new 'news letter updates' feature, and the new 'file share with link' feature.