I need to show a static calendar in pdf having current month dates.
The dates will have different icons as per the condition from database table column values. The requirement is to send a report to end user every month in form of PDF having current month dates.
Please help me to choose which language/technology can assist in creating such a PDF. Will .net , jquery can help to build such web form or web-page which can then be converted to PDF. Is there any similar demo project available online. I have searched a lot but maybe my keywords are not assisting in getting the right direction.
I have attached the image of calendar which needs to be shown in PDF.
Thanks for all
I have achieved the goal by using iTextsharp and was able to create Calendar having different cell events as per my business logic to have different images.
The link helped me to create a calendar which then I manipulated to have my custom cell events Creating a Printable PDF Calendar
calendar in pdf
Hope this helps anyone who want to achieve similar requirement.
https://jsreport.net
This seems to satisfy your needs exactly
Didn't try it though.
P.s.
Would have commented this.
Related
BLUEBEAM AND ADOBE ARE BOTH PDF VIEWERS THAT HAVE A LOT OF SIMILARITIES
Hello, I am trying to figure out how to link a form answer to some markups (tools).
Custom Columns that are created In Bluebeam:
When I create a new tool I can manually fill out all of these custom columns under the "Custom" section within the settings of a tool:
Then I can save that tool and all of the data will be repeated for every copy of that tool. However, the circled columns in the first picture would be changing on every page. Which means I would have to make a new tool for every page. (FYI I would be making ~20 tools for this, so I would have to update 20 tools every single page ;_;) Therefore, I want to create a dropdown/textbox on each page with those columns. When a user fills out the dropdown/textbox, the markups are automatically updated with that info, which means the custom columns are also updated.
Does anyone have an idea of how to link these?
As of now I have been able to create a code that creates a popup if a user selects a certain drop down. This shows me that you can grab the data from a user. I just don't know how to connect that data to all the markups (tools). I know each markup has a special ID, but I'm curious if you can somehow link to the tools "subject" property to do this.
Bluebeam provided me with their JavaScript API if that is any help.
https://i.stack.imgur.com/yEdU1.jpg (I got this image from this post JavaScript Library with Bluebeam)
UPDATE
I found another document with potential accepted scripts for Bluebeam. Please note this one will require people to have Bluebeam Revu eXtreme
https://support.bluebeam.com/wp-content/uploads/2019/08/Bluebeam-Script-Reference-2018.pdf
This version actually has a markup section (which are the things I am more or less wanting to have the custom columns be updated for with the user input)
This document seems to be relevant only for the Bluebeam Script Editor. You can open it by looking in the folder for Bluebeam from your start window.
There are 2 issues I have with this though. I haven't figured out how to run the codes I have in the script inside of Bluebeam yet and I am curious if there is a way to not need the markupID's and/or a way to get them without having to download the markups
I've been lurking on stack for so long, I finally have something to contribute...
I work with custom columns and toolsets all the time. I think you're missing a basic understanding of what the markup list is. Or maybe I am. The markup list is the table of data at the bottom of Bluebeam, where you're trying to change column headings.
The markup list is basically a table of data, what you're trying to do will change the column headers per page, which would change it for all entries. From what I know about Bluebeam, these are static, just like any database or table in any application like Excel. If you need to have different column headings, you need to just stack them all and use what you need on each page or from tool to tool. Or create different profiles with different custom columns, but this gets messy having multiple profiles accessing a single document. Maybe java can help show and hide these per what's relevant on the page within the custom field. But... I think the java is limited to be used within PDF form fields and some basic PDF actions such as print, save, etc. I don't think the level of coding you're looking for exists within Bluebeam.
I use profiles to manage custom columns per process, not the actual tool. It's kind of unclear exactly why the custom columns can follow the tools without the actual profile though.
What I do to accomplish complex tasks is export the markup list and build something within Excel VBA to tabulate data and export reports with relevant information. I'm sure you could use basically any coding language to accomplish this after the table is exported from Bluebeam.
I am trying to implement basic automation using Power Automate Desktop to change date selection on webpage and download the report. To do this I am injecting following javascript, which does change the date for me but webpage does not get updated as it should be updated once new date is selected. I have attached the link for snap where I manually select the date and webpage updates.
Can anyone help me to achieve this task of updating webpage when new date is selected.
P.s: I am not familiar with Javascript, the code I am using was taken from someone else.
document.getElementById("accPanelFilter:formFilter:panelSearch:j_idt80:j_idt82:daySelectGasDay:daySelectGasDaycalendar:daySelectGasDaycalendarcalendar_input").value = "10-11-2021";
I would like to ask the gurus lurking about on how to create a PDF Table with a Dropdown List that "auto-populates" (I do not know if that is the proper term...) fields with the appropriate values from the Dropdown List. I have already managed to create the table AND the dropdown lists (yay me!). But I would like it to fill up the appropriate columns for the "Rate" and "Hours" columns when I pick from the dropdown menu.
I do not know a single thing about JavaScript but I am aware that is most likely what I need to implement to do what I want to do.
Here is a picture to help visualize what I mean:
PDF Table with Dropdown
I am using PDF-XChange Editor. If we can do the above without having to involve JavaScript, then that would be a plus. If not, I will take what I can get (beggars can't be choosers lol). My many thanks as always!
I figured out the answer to this one. If a PDF has a javascript embedded and created using Adobe, the Javascipt cannot be viewed by any other editor BUT Adobe. So, buy a lisence for Adobe DC Pro and edit the PDF with it.
All of the request above can be done using the Adobe PDF Form editor alongside the Javascript tool inside it.
The webapplication I would like to build gives the user the possibility to select a period on a calendar. On the selected days they can write the start and end hour. The total amount of hours gets calculated. On the image below you can see what I would like to accomplish. What is a good way to get started programming this? Is there a good tutorial to get me started?
Is there a JQuery widget that gives a good start?
On the left you got some Employees and for each of them the user can select the period and fill in the hours they have to work.
I hope u get the idea that i have in mind. Please feel free to ask me any specifications.
I'm using MVC 4 - razor pages for the webapp
Thanks in advance
I've made something very similar in a MVC2 app with jQuery to check schedules for formative actions.
I first place a temporary span for the action and load it into the calendar provided by jQuery's datepicker, later I overwrite it's onSelect event to affect and save my data.
So when I click on a day of the calendar (only days on the previously selected time span are clickable) I allow user to introduce data for the schedule on that day.
Data saving to server is managed through AJAX calls that saves during using interaction.
I am using Selenium to test out a web site. The web site contains a date field, which when clicked, opens a popup from wherein I can choose the date.
My issue is that I wish to select a particular date using the Selenium IDE or Selenese. I have tried various methods, but have not been able to get a correct solution or been able to resolve it, except by manually specifying a date to the field in Selenese script. I am using Java to implement the test case.
An example could be checked by going to any airlines site and clicking on the date field for departure. The popup which comes up, I wish to capture a date on that. This could be a future date or the present date.
You need to implement some code that will navigate calendar to the desired date. Depending on the calendar appearance it may be required to navigate to the next month or year, so you need the code that will determine what needs to be done and then emulate required events for Selenium.
We had the same task in our tests and we end up with either selecting today's date or by entering the date into the field directly. We also made a code that will allow to select any date on the calendar by we did this only because we needed to test the calendar widget and we were the authors of the widget so we knew how it was made. However it resulted in writing a lot of code
Selenium IDE is limited in its ability to handle javascript. I've worked around it at times
by putting custom links in that do customized GETs, but it's a hack.
You could look at Sahi, which can do it. I haven't tried it though.
http://sahi.co.in/w/