The StaticContent-TimeController Bundle deactivates the StaticContent widget after a certain period of time.
https://demos.conterra.de/mapapps/resources/apps/downloads_staticcontent_timecontroller/index.html
- First, you need to add the bundles "dn_staticcontenttimecontroller" to your app.
- After that, you can configure the bundle in the app.json.
"dn_staticcontenttimecontroller": {
"StaticContentTimeController": {
"time": 30000
}
}
Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file:
<mapapps.remote.base>http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%</mapapps.remote.base>
-
Goal parameters
mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%
-
Build properties Change the mapapps.remote.base in the build.properties file and run:
mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties