Problem:
In the 9.0 version of the Jasperserver, we have introduced an option 'Use a blank JRXML' which takes the user to webstudio. There can be a use case where the admins would like to disable the option for the users.
Solution:
To remove the 'select blank jrxml' option you will need to remove the below code from the jasperserver-pro\WEB-INF\jsp\modules\addResource\reportSteps1_2.jsp file, clear the Tomcat cache, and restart the Tomcat. Please take a backup of the reportSteps1_2.jsp before making the changes.
<spring:bind path="wrapper.source"> <li id="blankTemplate" class="leaf"> <div class="control radio complex"> <label class="wrap" for="BLANK_TEMPLATE" title="<spring:message code='resource.report.blankJRXML'/>"> <spring:message code="resource.report.blankJRXML"/> </label> <input class="" id="BLANK_TEMPLATE" type="radio" name="${status.expression}" title="<spring:message code="resource.report.blankJRXML"/>" value="BLANK_TEMPLATE" <c:if test="${status.value=='BLANK_TEMPLATE'}">checked="checked"</c:if>/> </div> <div class="browser"> <label title="<spring:message code="resource.report.blankJRXML"/>" for="resourceUri" class="control browser<c:if test="${status.error || wrapper.source=='BLANK_TEMPLATE' && jrxmlUnparsable != null}"> error</c:if>"> </label> <span class="message warning"><c:if test="${status.error}">${status.errorMessage}</c:if></span> <c:if test="${status.error || wrapper.source=='BLANK_TEMPLATE' && jrxmlUnparsable != null}"> <span class="message warning">${status.errorMessage}<spring:message code="${jrxmlUnparsable}"/></span> </c:if> </div> </li> </spring:bind>
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now