Hi @Umesh_Thakur , Please verify your query to identify any issues that might be preventing the report from executing without user input before opening the report. If possible please share your query here.
Hi @test1234567 , you can create a servlet(try using as path based servlet in this case) for updating the property once the code deployed to PROD you can execute the servlet later it can be removed from code base.
Hi @chinmayis865517 , similar kind of issue addressed here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/operands-are-not-of-the-same-type-the-equality-operator-can-only/m-p/269343 if this is not helpful can you please share complete error log and the sling model you are ...
@Tenu , try removing the below snippet from dialog .content.xml which is having empty value <select
jcr:primaryType="nt:unstructured"
text="Selecciona un tema"
value=""/>
Hi @Sandeep_k_Singh , please refer this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/show-hide-tabs-based-on-dropdown-selection/m-p/420691/highlight/true
@anasustic , you are getting error at Workbook workbook = new XSSFWorkbook(inputStream)To execute above line you need to use MockedConstruction with parameters, please refer on how to create mockedConstructorhttps://rieckpil.de/mock-java-constructors-and-their-object-creation-with-mockito/https://ww...
@anasustic , this happens when the braces are not closed properly. Here below line is causing the issuewhen(mockRequest.getRequestParameter("xlsxfile").thenReturn(requestParameterMock); updated:when(mockRequest.getRequestParameter("xlsxfile")).thenReturn(requestParameterMock);
Hi @anasustic , Can you please share your complete test class, As I can see you are calling a method with name getResourceAsStream in your test class but can't see the same method in your servlet.
Hi @DillipDi , Can you please try with below snippetimport com.adobe.granite.workflow.WorkflowSession;
import com.adobe.granite.workflow.exec.WorkItem;
import com.adobe.granite.workflow.exec.WorkflowData;
import com.adobe.granite.workflow.metadata.MetaDataMap;
import com.adobe.granite.workflow.metad...