hclcnx / customizer

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

Unable to inject helloWorld.js to SC Homepage #12

Closed MarcusICL2 closed 6 years ago

MarcusICL2 commented 6 years ago

Hi Team,

I am on SC L2 Support Team. Currently, attempting to test a simple extension, but unable to get the helloWorld.js injected to our SC Connections test org.

Here is json: { "name": "Homepage Customization", "title": "Introductory Customizer App", "description": "Inserts text into IBM Connections Homepage", "services": [ "Customizer" ], "extensions": [ { "payload": { "include-files": [ "helloWorld/helloWorld.user.js" ], "include-repo":{ "name": "global-samples" } }, "name": "Hello World Extension", "type": "com.ibm.customizer.ui", "path": "homepage" } ] }

Is this not working anymore? Should there be application ids and if so would a pull request be necessary? Should include-repo point to "customizer" and not "global-samples" (as that repo doesn't seem to exist)?

Any assistance is greatly appreciated! @padraic-edwards @MartinDonnelly

ibmcndev commented 6 years ago

Hi Marcus, What environment are you testing on, apps.na or apps.ce or elsewhere? Has your org been enabled for Customizer ?

The JSON you have above should work. Did you create it in the "Pink" App registry ? Have you seen this video? https://www.youtube.com/watch?v=sPpUqhalkiA

Thanks, Padraic

MarcusICL2 commented 6 years ago

ignore

MarcusICL2 commented 6 years ago

Hello Padraic,

Thanks for the feedback.

I am testing on apps.na.

Our test org id is .

Not sure, how can I confirm if this org has been enabled for Customizer? Would it be in subscription?

I see we have the new Apps Manager (Pink Appregistry) option and tried using it but that did not work.

Not sure how to get "id" for json and it won't let me use just the sample code from customizer repo.

Someone else tried testing with similar json that has "id" key/value but that did not work either.

I watch the video as I am not sure if this org was involved in pilot program.

Any further assistance is greatly appreciated!

Thanks!

ibmcndev commented 6 years ago

Hi Marcus, Please email ibmcndev@us.ibm.com and ask for your org to enabled for Customizer as I do not believe it is enabled. In part 3 of the readme, we explain what you need to send to that email address.

https://github.com/ibmcnxdev/customizer/blob/master/README.md

Thanks, Padraic

MarcusICL2 commented 6 years ago

Sent... Do you provision Customizer? Just curious how long this process takes? Thanks!

ibmcndev commented 6 years ago

The Customizer enablement process usually takes 24 hours.

MarcusICL2 commented 6 years ago

Customizer has been enabled and the HelloWorld extension is now working...please close and thanks for the support!