EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439330: Multiple jobs are created for a single user when running a document with another document displayed in iFrame / HMTL container


Community Admin

• Strategy


This Knowledge Base article describes possible causes and corresponding workarounds for multiple jobs created in Job Monitor when running a document with another document embedded in an iFrame

SYMPTOM:
Administrators may observe in Job Monitor in Developer two or three jobs for one document run by a single user; this happens when a RS document contains an iFrame embedding another RS document. This behaviour was tested with Windows authentication.

ka04W000000ObsnQAC_0EM44000000QCwV.png

STEPS TO REPRODUCE:
1. Make sure that Windows authentication is used and caching is disabled for this project. Alternatively, you may disable caching on the document level.
2. Create two RS Documents, Document 'A' and Document 'B', based on a simple warehouse data report (not on report cache or a cube).
3. Add an iFrame to Document 'A' referencing Document 'B', e.g. using the following syntax (ensure that the document ID of the Document 'B' is updated correctly):
./Main.aspx?Server={&SERVERNAME}&Project={&PROJECT}&Port=34952&evt=2048001&src=Main.aspx.2048001&visMode=0¤tViewMedia=1&documentID=1E96FFAD4765B51C502702BDDB44E1D6

ka04W000000ObsnQAC_0EM44000000QCwa.png

4. Run Document 'A' and observe that initially two jobs are created (for Document 
'A' and the underlying dataset but after a moment, the two or three jobs for Documet 'B' are created.
CAUSE
There are two identified causes of this behaviour.
1) 'Fit to page' is enabled: when the document is rendered and with 'fit to the browser size; feature enabled, it is re-rendered to fit the size.
As a workaround, try to set a fixed zoom (for example 150%) while editing the document and save it. It will remove the 'fit to page' feature; please note that it will affect how the document displays in different browsers. 
2) The 'preview image' is enabled'; when this feature is enabled, the thumbnail preview image of reports and documents in the "Recents" menu is displayed. This has been identified confirmed to cause the duplication of jobs.
As a workaround, disable the preview by changing the below value to 0 in sys_definitions.xml file 
(The sys_definitions.xml file is located under [WEB DEPLOYMENT FOLDER]/WEB-INF/xml):


<pr des="Show Previews" n="showPreviews" v="0" dt="boolean" />


KB439330


Comment

0 comments

Details

Knowledge Article

Published:

December 27, 2017

Last Updated:

December 31, 2018