-
Re: How do set the UserPrefs for an app (that was installed as an add-on)
Ryan Rutan Jul 23, 2014 12:12 AM (in response to Robert Hanson)I dont see the system-settings view implemented in your app, can you confirm that you have it in your app.xml definition, similar to this one?
jiveapps/applications/props/props-app/app.xml at master · jivesoftware/jiveapps · GitHub
-
Re: How do set the UserPrefs for an app (that was installed as an add-on)
hmitchell Feb 2, 2016 11:14 AM (in response to Ryan Rutan)Ryan Rutan I am having the same issue as the OP.
- I create sample app from template using node sdk: jjive-sdk create app
- I un-comment out the user prefs lines in app.xml
<UserPref name="where_i_live" display_name="Where I Live" datatype="string" default_value="" required="false" />
<UserPref name="subscribe_to_newsletter" display_name="Subscribe to Newsletter" datatype="bool" default_value="" required="false" />
<UserPref name="difficulty"
display_name="Difficulty"
datatype="enum"
default_value="2">
<EnumValue value="1" display_value="Easy"/>
<EnumValue value="2" display_value="Medium"/>
<EnumValue value="3" display_value="Hard"/>
</UserPref>
- I build the app using jive-sdk build add-on --apphosting="jive"
- I install into our Jive Cloud instance and I dont see the App Settings button.
Regarding:
I dont see the system-settings view implemented in your app, can you confirm that you have it in your app.xml definition, similar to this one?
jiveapps/applications/props/props-app/app.xml at master · jivesoftware/jiveapps · GitHub
I do not see that in the documentation. I though that including the UserPref tags would build the add on config page like in Using the OpenSocial API . is that not correct?
Thanks!
-