Hello everyone
when i'm clicking on the smart pdf icon to generate a pdf its generating in portrait mode and truncating some of the tables also i have changed the setting to landscape in server setting >> email setting but nothing worked how can i configure for smart pdf exporter to export in landscape mode
I have the same issue
Did you happen to resolve this issue at all ?
Hello @venky1544,
I did the test by changing the orientation parameter in the first panel you have to add in the dashboard, and set the orientation
parameter to l.
<option name="smart_exporter_app.smartexporter.orientation">l</option>
It works fine. You can also try to change the format
as follows :
<option name="smart_exporter_app.smartexporter.format">a3</option>
@poete I have the same issues, but using the code above it did not fix the issue.
Any ideas? Cheers in advance Robbie
<panel>
<viz type="smart_exporter_app.smartexporter">
<title>PDF_SMART</title>
<search>
<query>|makeresults</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
<option name="smart_exporter_app.smartexporter.orientation">l</option>
</viz>
</panel>
@robertlynch2020 have you tried to play with the settings through format visualization option i did tried the XML option but it didn't worked. Try the edit mode in the dashboard and select the brush icon(format visualization) above the smart exporter panel you will get an option of orientation and format i had selected A1 and A2 and did worked for me . although the report has little alignment issues but better than export pdf option.
just give it a try and let me know
Note:- the only problem you need to zoom in to the dashboard with A1 and A2 option
Hi Robert, Please let me know if you happen to find a solution please as I have the same issue and haven't been able to resolve.
Hi Poete
thanks for the update i did made the changes however its still truncating the columns on the right
below is my dashboard code i have columns in the table format and its truncating after the 5th column even after the change
Table Column Width
<panel>
<viz type="smart_exporter_app.smartexporter">
<search>
<query>| makeresults</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="smart_exporter_app.smartexporter.orientation">l</option>
<option name="smart_exporter_app.smartexporter.format">a3</option>
<option name="drilldown">none</option>
</viz>
</panel>
<panel>
<table id="tableWithCustomColumnWidth">
<search>
<query>| makeresults | eval field1="Q1",number="INC026xxxx",mytime=strftime(_time,"%Y-%m-%dT%H:%M:%S.%Q"),category="Batch_(Business_Intelligence)",Assignment_group="ABC-Information App-Admin",description="Job ABCDEEDW_ABCD_R2_SET4J_POLLING failed on node bxxxxxx1 at 11/09/2019 20:50:04.",CURRENT_STATE="In Progress"
| append
[| makeresults
| eval field1="Q1",number="INC035xxxx",mytime=strftime(time,"%Y-%m-%dT%H:%M:%S.%Q"),category="Batch(Business_Intelligence)",Assignment_group="ABC-Information App-Admin",description="Job ABCPXXXX_BXXG_R2_EXTRACT failed on Node b2XXpaaX @ 03:06 AKT",CURRENT_STATE="Resolved"]
|table field1,number,mytime,category,Assignment_group,description,CURRENT_STATE
10
none
none
false
false
false
true