Awesome, thanks.
ThePolymorph
@ThePolymorph
Posts made by ThePolymorph
-
RE: PDFUtils causing file size to increase exponentially
Hi @jan_blaha can you advise if the above fix (npm i jsreport/jsreport-pdf-utils) has been added yet, it's been working for me for the last 4 months without issue from the docker image I created (as advised above).
-
RE: Formatting issue with pdfCreatePagesGroup
Hi @jan_blaha with regards to your comment "In main template do {{:~pdfCreatePagesGroup(HeaderFooter.Id)}} In the merged operation search the root data Data array for HeaderFooter with the passed Id." How do you search for the id the merged operation? is there an example somewhere I can reference?
-
RE: Application error when applying application settings in Azure
@jan_blaha thanks for that I added the setting and restarted the app but it doesn't to be working. How do I access the output logs and does the following setting need to be changed:
{
"name": "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
"value": "false",
"slotSetting": false
} -
RE: Application error when applying application settings in Azure
Update: No errors now but on every restart the persistance is not working and sample file creation is being requested.
[
{
"name": "DOCKER_REGISTRY_SERVER_PASSWORD",
"value": "",
"slotSetting": false
},
{
"name": "DOCKER_REGISTRY_SERVER_URL",
"value": "https://index.docker.io",
"slotSetting": false
},
{
"name": "DOCKER_REGISTRY_SERVER_USERNAME",
"value": "",
"slotSetting": false
},
{
"name": "extensions_authentication_admin_password",
"value": "",
"slotSetting": true
},
{
"name": "extensions_authentication_admin_username",
"value": "",
"slotSetting": true
},
{
"name": "extensions_authentication_cookieSession_secret",
"value": "",
"slotSetting": true
},
{
"name": "extensions_chromePdf_timeout",
"value": "1000000",
"slotSetting": true
},
{
"name": "extensions_fsStoreAzureSbSync_connectionString",
"value": "",
"slotSetting": true
},
{
"name": "extensions_fsStoreAzureStoragePersistence_accountKey",
"value": "",
"slotSetting": true
},
{
"name": "extensions_fsStoreAzureStoragePersistence_accountName",
"value": "",
"slotSetting": true
},
{
"name": "extensions_fsStoreAzureStoragePersistence_provider",
"value": "azure-storage",
"slotSetting": true
},
{
"name": "licenseKey",
"value": "",
"slotSetting": true
},
{
"name": "phantom_numberOfWorkers",
"value": "8",
"slotSetting": true
},
{
"name": "templatingEngines_numberOfWorkers",
"value": "8",
"slotSetting": true
},
{
"name": "templatingEngines_strategy",
"value": "http-server",
"slotSetting": true
}
] -
Application error when applying application settings in Azure
Hi,
We have a custom version of jsreport 2.6.0-full with the latest pdf-utils running in a docker container but are getting an applicaiton error (web page just says applicaiton error) when applying extension settings in Azure which is our preference e.g. extensions_authentication_admin_password or extensions_fsStoreAzureSbSync_connectionString . We have tried placing the settings in a config file and the username and password are working but not the Azure storage. See config file below:
{
"allowLocalFilesAccess": true,
"licenseKey":"keyhere",
"extensions":
{
"authentication" : {
"cookieSession": {
"secret": "secret_here"
},
"admin": {
"username": "usernamehere",
"password": "passwordhere"
}
},
"fsStoreAzureStoragePersistence":{
"accountName":"accountNamehere",
"accountKey":"keyhere"
},
"fsStore":{
"persistance":{"provider":"azure-storage"}
},
"fsStoreAzureSbSync":{
"connectionString":"connectionstringhere"
}
}
} -
RE: PDFUtils causing file size to increase exponentially
@jan_blaha ok thanks, I'll give that a go. For something so critical (in my opinion) will this be included in future versions?
-
RE: PDFUtils causing file size to increase exponentially
@jan_blaha wow! that brought a 1.2mb report back down to 200kb locally. This gives me a lot of hope so now going back to the question above how do I get this to work through the docker container, we are running this through Azure?
-
RE: PDFUtils causing file size to increase exponentially
Hi @jan_blaha I'm using the latest version but will certainly try that. Has this also been updated in the docker container as this is the area where it is most needed.
Thanks again