Adding filepath to crystal reports based on parameter - crystal-reports

I am creating a Crystal Report where all data that is displayed is based around the OrderNo. Each order has separate documents that are housed on the server (each order has different documents). What I'd like to be able to do is add a hyperlink to the report that will take the user to those specific documents when clicked (the file path will need to change dynamically based on the OrderNo).
If possible, what is the best way to do this?

Right-click the field you wish to act as a hyperlink.
Select Format Field...
Go to the Hyperlink tab...

Related

Download reports from the Microstrategy with filtering

http://xx.xx.xxx.xx/servlet/mstrWeb?evt=4001&src=mstrWeb.4001&reportID=48C05A5F4CCF82CC07F4A1BE2D023FE5&visMode=0&reportViewMode=1&messageID=9850FBA54B678E5B6B66A4B1E527B7B5&stateID=0
This sample URL displays the report executed and saved in the archive. Before downloading, I need to specify an additional condition on one of the columns. For example, City = Samplesity How can this be implemented with the help of Microstrategy url api?
You could use a view filter (with a prompt) in the report and answer the prompt via MicroStrategy URLAPI. The problem would be that the prompt will be showed also to the users (if the report is executed with a subscription, then no problem).
Using a report in this way doesn't make much sense to me, better in this case to use a cube and create a report with a prompted view filter on top of it.
If by "saved in the archive" you mean stored in the History List then there is not much to do here. The History List contains an execution of a report, you cannot really modify it.
If you are looking for a way to filter on old version of your data you have to find another solution, like keeping historical version of the data.

How can I include a clickable (hyperlinks) table of contents when generating documents in Enterprise Architect?

I have a data dictionary report in Enterprise Architect (same as in this question: How can I exclude a "report.specification" from a Report in Enterprise Architect?) and I would like a table of contents that is clickable (has links).
The current report does generate bookmarks, but if it is possible, I'd like to have a "live" Table of Contents in the output PDF.
This isn't possible in EA right now
Closest developper response I could get for this issue is this forum post:
I talked with Sparx on this topic as I had the same question.
Their response...
"The 3rd party add-in we use for generating these documents does not
support the TOC hyperlinking - so unfortunately the only alternative
is to open the document in another application like Open Office or
Word and simply right-click and update the TOC."
You can always open the Document in Word or Adobe Reader and use the Navigation Pane:
(Word 2013)
1. Click View on the ribbon
2. In the show Section, click Navigation Pane
(Acrobat Reader)
Use the Bookmarks Pane
Also, I find that when generated as a .rtf or .pdf report, the Table of Contents generates with the wrong Style, messing with the Navigation Pane.
Generating the Document in Word format solves this issue
Another Solution:
You can generate the report without the table of contents with Word, create the table of contents when generated and then export it to whatever format you need
Edit:
After some digging, I found that in Word, you can update the TOC and then ctrl+click the numbers to jump pages.
You cannot do this with a pdf

How to add fields to the ActiveReports 10 Forms ReportExplorer Control

I am using ActiveReports 10 in a c# WinForms application.
I am creating a form where the user can design report. I want to pre-populate the report explorer control with a list of fields that the user can drag onto the report designer control.
I don't know how to create the field entries in the report explorer control.
Note that I do not want to use the toolbox control to drag textboxes or labels onto the forms for the user to configure. I want them to be able to drag on pre-configured "things" that print out specific values.
thanks
just set the data source and query of your report and the report will populate the fields tree automatically.

Change fields depending on drop down selection in Microsoft Word design mode

Can anyone point me to info about how to create a Microsoft Word document that changes text input fields depending on what the user selects in a drop-down menu?
I'm using Word, Developer toolbar, Design mode, and have gotten as far as how to create the drop down selection box, and add text input fields below that on the page, but I need to know how to change what fields appear depending on what the selection is. I'm sure it's possible, I just don't know how to go about it.
I'm pretty good with this sort of thing in HTML with javascript and jQuery, but Word is its own little world.
I tried the "structured" tab but it suggests selecting XML add ins, and none appear in the list to select.
One option is using a template approach in combination with 3rd party toolkit and external application. External application takes care for user interface where user selects template and sets filter for data retrieval. The application then reads the data, generates new document based on template and populates it with data.
You don’t have to mess with MS Word macros and this solution can survive Office upgrades very smoothly.
Template design in done in MS Word. We are using third party toolkit (i.e. Docentric Toolkit) for populating Word documents with data.

On demand sub reports in crystal reports

I have a report where I am using an on-demand sub-report. But my user is viewing this report from a java application. So whenever he run the report he will view this report in PDF.
Report format:
country name location sales
<on-demand subreport>
Now once he run the report he will get all the above fields data in PDF format.
So now if clicked on location field data in PDF will he get the sub-report's data.
PDF isn't intended to generate dynamic content. As such, you'll need to find an approach that will render the desire content in a static manner.
I would suggest that you parameterize your report to display one of these options:
main only
main + subreport
The PDF will either contain the main report's content or the main and subreport's content.
** edit **
If you are using BusinessObjects Enterprise (BOE), you could use the openDocument API to generate a new report instance or the most-recently-generated instance. I don't know if Crystal Reports Server supports this feature for certain.
If you are rendering reports in a Java application, then you will need to a way to intercept the hyperlinks--a server, most likely. By in large, you'd be reinventing Crystal Reports Server/BOE.
Basically I understand as you need two thing.
you need to generate a report and export/generate in pdf.
in you need to attach link or something like editable field pdf.
For First answer, you can easily hide/show of sub-report in crystal report side. but not after report generate in pdf.
So for second answer, you need to pdf professional or editable allow version. after you get that you simply use itextsharp.dll (to generate pdf from asp.net-see below link).
So finally I think, does not needed crystal report.
please check this link.
How to create an editable pdf in asp.net?
Pdf's fields should remain editable using itextsharp in asp.net
Creating a fillable PDF form with ITextSharp