I have observed a strange behavior of BIRT 4.3 pojo data source. For my courseSubjects (It is a nested collection) even without creating a separate dataset the pojo data source that came with 4.3 worked well but when i am trying add another collection for another table in the same report but nothing is working out. My total report is being empty. If i create another dataset for that collection, everything is working fine. Why is this working for one collection and why not working for another collection? The behavior is too strange. It is not displaying any error and also not displaying any data. To view pdf report i am using the viewer provided by Eclipse Birt.
I am uploading the two rpt design files. "test.rpt" is the one which is working and before adding the "documentName" field to dataset, The "testNotWorking.rpt" is the one which is not working when i add "docName" to the dataset. This is too strange. when it is working for courseSubjects why is it not working for "documents". How to understand this behaviour? As it is not allowing me to upload the documents taht are more than 111kb i am uploading to my google drive and providing the links to download. The following are the links
https://docs.google.com/file/d/0B59LVhKQaKQYeFNDcnhxZ3pCWVE/edit?usp=sharing
https://docs.google.com/file/d/0B59LVhKQaKQYcmoyZVVpZ1RCMlk/edit?usp=sharing
The following is the link for the jar file. I have hard coded the data for your convenience so that you will be able to see the report easily.
https://docs.google.com/file/d/0B59LVhKQaKQYa2RIUldGM0dfSm8/edit?usp=sharing
Related
I need to link a document uploaded by a member.
Which is by using an upload button to a download button on another page in Wix website builder.
I don't have any issue with programming it, but I would prefer not to if possible.
Depending on exactly what you want, this could be doable without any code, or a minimal amount of code, and also using a database collection.
How you setup your collections will depend on exactly what you want to do, but it sounds like you will at least need one field that references one of the Members collections and another field to hold you file.
On the upload page, add a dataset (either write-only or read-write depending on you setup) for the collection and connect the upload button to that collection. Depending on your setup, you might need to write a line or two of code or use filters on the dataset to upload the file with the correct member info associated with it.
On the download page, you do pretty much the same thing. Add a collection (read-only) and connect the button to it. Again, you might have to filter the collection or write a bit of code to make sure you're getting the file that is associated with the current member.
I recently added a new column to the existing data model which uses SQL query from Oracle.
I saved the changes, reviewed the output and saved as sample.
I have checked if the new query with new changes runs in SQL developer, it runs as expected with new columns.
However, I am not able to see those new columns in the main report even after refreshing the browser.
Could you please help me fix this.
Thank you
It is not clear from the question did you or did you not add those new columns to the report template. If you didn't then there is nothing new to show in the report. If you did then maybe, just maybe, it is a caching problem. BI Publisher offers the option to control the cache.
Try to open your report in edit mode, click on Properties and setup the caching for the report.
More at https://docs.oracle.com/middleware/12212/bip/BIPRD/GUID-921F37EA-3956-4244-BFBF-2B942DF10E22.htm#BIPRD2125
Since the Docs API allows for retrieval of Google Docs via JSON, is there a way to directly inject that JSON data, with alterations, into a new Google Document? I have several Google Documents that are used as templates for contract agreements, and the data points for all the information to be entered into the templates is already pre-stored in a database.
My goal would be to store the template's JSON server-side and call that data to generate a current agreement and modified agreement by iterating through the placeholder values, inserting database / user input values at those placeholders, and then creating a new Google Doc from that JSON that can be downloaded. Skipping the step of creating google-side copies, grabbing their ID's, and calling something like Batch Update
My inspiration for this came from Federico Tomassetti's post: A template system for Google Docs: Google Drive automation and PDF generation with Google Execution API.
However, Federico creates copies of the template and then fills that copy using App Scripts. I'm currently searching for a solution that would allow for Agreements to be fully generated before being inserted to reduce overhead and simplify permissions, etc. Skipping the step of creating copies and then editing.
I'm just surprised there isn't some kind of way to directly upload without having to call a GET to the template every time, creating copies, and then editing those copies via Batch Update. Hopefully I'm missing some API call that exists, but so far I haven't found anything.
I have a SharePoint folder where only spreadsheets are uploaded. I need to extract data from one of the tables (Table1) and paste that in a different spreadsheet.
I'm stuck as to how to extract the rows from the spreadsheets as soon as these are uploaded:
This is the error I'm getting, my test spreadsheet does have a table created called "Table1".
Any ideas?
Apparently the dynamic content to make reference to a file on SharePoint has a bug that devs need to work on. For the time being the workaround is using OneDrive:
I downloaded images from a webservice, saved then into a TBitmap and used the command: bmpExample.SaveToStream(stExample); and saved the stream into my database (SQLite) PS: the column is a Blob field.
Until here everything works fine! I can see the image on the Data tab, the problem start when I try to load the image back to my application (firemonkey). I'm using the livebinds tool and linked my ListView into my Query (select * from empresa) in this way:
The header and the text loads fine, the only problem is with the image (that I know that exist because I can see on the Data tab of my SQL editor.
I found the answer, was because I used qMyQuery.Open after download the company informations, and after I had the ID of the company, I downloaded and inserted the images on the database but I did not said to my query to access again the database.
The answer to my problem:
Dm.qMyQuery.Close;
Dm.qMyQuery.Open();