الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

مشكلة Subreport في Jasper Server

Featured Replies

بتاريخ:

السلام عليكم ،،

 

قمت بعمل تقرير في jaspersoft Studio  عبارة عن main report و subreports 

ويعمل بشكل صحيح في جهازي ..

 

ولكن عند نقله للسيرفر لا تظهر أيا من subreports  فقد التقرير الرئيسي يظهر بشكل صحيح

رغم وجودهم في نفس الملف ...

 

وقمت بتجربت نقله لجهاز أخر وأيضا لا تعمل فقط في جهازي يعمل التقرير بشكل صحيح...

تم تعديل بواسطة AlQutaiti

بتاريخ:

Check SUBREPORT_DIR to be located in your server or make it variable

بتاريخ:
  • كاتب الموضوع

Check SUBREPORT_DIR to be located in your server or make it variable

 can you explain more , please.

بتاريخ:

 

Open master report jrxml file and find this parameter

 

r95Cymg.png

 

change red underlined  to real path of  subreport in the server and save ..compile

 

*note : there is other ways

 

تم تعديل بواسطة Darwiesh.fci

بتاريخ:
  • كاتب الموضوع

 

Open master report jrxml file and find this parameter

 

r95Cymg.png

 

change red underlined  to real path of  subreport in the server and save ..compile

 

*note : there is other ways

 

<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["//reports//Inspection//Statement_Report_files//"]]></defaultValueExpression>
	</parameter>

IT's correct

 .AND I try to change (//) with (\\) but nothings change.

بتاريخ:

 

 

Open master report jrxml file and find this parameter

 

r95Cymg.png

 

change red underlined  to real path of  subreport in the server and save ..compile

 

*note : there is other ways

 

<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["//reports//Inspection//Statement_Report_files//"]]></defaultValueExpression>
	</parameter>

IT's correct

 .AND I try to change (//) with (\\) but nothings change.

 

 

 

 make it real path like "c:\\app\\report\\INV\\" ... not relative path like " \\report\\INV"" OK

******* IN SERVER MACHINE 

بتاريخ:
  • كاتب الموضوع

 

Finally, the report works fine.

 

The issue not in the subreport_dir 

it was in the property of the frame which contain the fields 

I try to put all the fields without frame then it works fine .

 

 

Thank you 

 

بتاريخ:

تأكد من صحة المسار

بتاريخ:
  • كاتب الموضوع

تأكد من صحة المسار

المسار صحيح ،، ولكن المشكلة سببها وجود الحقول في frame

عندما قمت بإزالة الـframe 

ظهرت بشكل صحيح..

 

 

شكرا لك..

بتاريخ:

العفو بالتوفيق

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.