Magic, surely you've discovered, abounds in voluminous accreditation within the bowels of Splunk. The functionality you seek, it doth exist! HARK! Hear and listen unto me, and we shall learn of potions and salves complete to make your day eternal!
Firstly, place this such configuration unto your setup.xml .
<setup>
<block title="Welcome to My App">
<text><![CDATA[This is intro Text.
]]></text></block>
<block title="User Acceptance" endpoint="configs/conf-app">
<input entity="install" field="is_agreed">
<label> I Agree</label>
<type>bool</type>
</input>
</block>
</setup>
And LO! An Acceptance Page! Upon clicking the box, and clicking Save , Thine most holy app shall be configured!
Now then, to check upon the worthiness of thine user, execute such search!
| rest /services/apps/local/<app_name>/setup | table title /configs/conf-app/install/is_agreed
title /configs/conf-app/install/is_agreed
---------- -----------------------------------
<app_name> 1
If thine table thus shows 1 , you have an agreeance! From here, we shall embark on a lustrous journey towards that which is now known as setupXml , and we SHALL return glorious!
... View more