jaspersoft adhoc handling multi user edit mode request - jasperserver

I am using Jaspersoft Ad Hoc crosstab and I have integrated it in to my existing web site using iframes.
My major concern over here is for user who has edit access on it in order to do analysis on the available data.
Once use saves the analysis, default view of the pre-generated adhoc updates by the existing once.
What I want is that, whenever user login in to my site, the editing he does on the adhoc should be visible to him only even if he saved the edits.
Suggest good way to achieve it,

If you set the Ad Hoc View as read-only for certain users, they won't be able to make changes on your View.
Right-click on the Ad Hoc View, select "Permissions...", then change to something like "Read Only" for the relevant Role(s), or the User(s) directly.
When they open it, make changes and try to save, it will prompt them to save to a different location or with a different name, depending on the folder permissions.
I hope this helps!

Related

Set the Actual Size option in the Ad Hoc Editor of Jasper

After creating a view from my topic in an adhoc editor, when I preview my view (Export as PDF), my report gets truncated.
E.g:My View has 20 fields, when I export the same, I get only 5 or 6
depending on the width of the field selected.
In JasperReports-Server-User-Guide.pdf, to overcome this, they have said the following
To prevent horizontal truncation of an Ad Hoc report when exported,
set the Actual Size option in the Ad Hoc Editor.
I tried setting the same, but I did not find the option on the adhoc editor.
I went to Adhoc Settings via Manage--> Server Settings and tried my luck.
But somehow the option to set the size is not available.
Can someone let me kow where is the option to set the size of the report to actual size in the adhoc editor.
I am using Jasper Reports Server 5.
Any help would be appreciated.
I appreciate this is a rather old question but I came across this section of the user manual and couldn't find the setting (JasperReports 5.6) so contacted Jaspersoft Support for clarification.
This function has been removed from ad hoc editor. The PDF exports are
actual size by default.
To pick the size of the report created in ad hoc you can use ad hoc
templates instead of the feature mentioned in the doc. When you save
ad hoc report you can use custom ad hoc template and pick Actual Size
there. By default Actual size is used.

ClickOnce Deployment with local user file

I'd like to deploy a ClickOnce application, but would like to have a configurable user file to store settings and preferences that does not get overwritten everytime I publish a new version. Is there to specify that a particular file should get deployed in any installation that doesn't already have one, but not overwrite any previous versions?
The only workaround that I can envision is to store the data in a database, but it's so user-centric that it seems like a lot of overhead to re-invent the config file.
One approach is to use application settings, which we used for a WPF application deployed with ClickOnce. We have multiple settings for such things as user specified download folders, default settings, etc. For each such setting, the Scope is set to User. When the setting is changed by the user the new values are persisted with a call such as:
YourProject.Properties.Settings.Default.UserSetting1 = "New Value";
YourProject.Properties.Settings.Default.Save(); // persists the new value for the current user
Even with multiple updates of the application via ClickOnce, these settings are persisted for each user. Note that the settings are persisted on a per-machine basis, so if a user goes to a new machine and downloads the application, their settings will not be transferred.
Hope this helps,

Script to change settings in a program (filemaker pro 11)

Looking for some help here. I do a bit of IT support for an organisation of about 200 people. Most of them use a database program called Filemaker Pro 11. Each user should have their own username that is set under the 'edit' menu -> 'preferences'. The edit menu is on the tool bar at the top of the screen, along with file, view, window etc. like as in MS Word for example.
Each user currently has a default username but the organisation wants everyone changed to a unique username. This means me visiting every machine and manually changing it. I was wondering if it would be possible to write a script to prompt users to make this change the next time they open the system? I'm not new to programming but I've never made a script like this before so wouldn't know where to start. Could anyone point me in the right direction?
There is no way to script that change.
The user name you are referring to is the system (Windows or Mac) user name, and not the FileMaker user account. The default for the system user name is whatever they are logged in to their computer as. So, you could give people unique user names at the system level.
The option that is not default allows the user to change their system name. You can create a script that will open preferences for them, but there is no way to actually change it via a FileMaker script.
What you can do: Use the FileMaker account name instead of system name. The account name is much more reliable, follows the user across computers, is more secure, and best of all is (almost) totally scriptable.
I hope this helps. Sorry that what you want isn't possible inside of FileMaker.

How can I modify a Settings.bundle in real time?

is there anyway to add new entries to the Settings bundle during run time?
We would like to be able to turn-off and on options depending on what information the user have entered. Seems like all Apple documentation talks about modifying preferences, but not the Setings page itself.
thanks!
The settings.bundle is read-only. You can NOT modify it during run time.
If you want to be able to change settings during run time, you have include the app settings from within the app.

Office integration (Word) - intercepting save

I am planning to implement a small in-house document management system. It must have a web GUI for managing a remote folder structure stored in a database. In these folders are word documents stored (physically as blob in a database). Whenever a user clicks on a document link, a word binary is downloaded via browser and (hopefully) opened in Word on the user's PC.
This is the easy part ;)
Now the user hits "Save" or Ctrl-S. I want to have a functionality programmed inside Word that calls a custom function (maybe in a .NET DLL) that uploads the saved file back to the server (HTTP). The hard part seems to me:
How to intercept the Save process to call the extension functionality
How to deploy this to multiple users
Mike's link to the question I answered should do it for intercepting the file save. The specific button idMso for File->Save is "FileSave"
To deploy it to several users machine you can either
Create a setup project that will create an msi that you can run on all the users machines
if it's an intranet scenario, you can keep the assemblies on a network location and just add the neceassary registry settings to all the users machines. This article should describe the settings that you need to include. You would just need to change the path setting to point to the network location.
AFAIK, this is what Alfresco is doing with its Microsoft Office Add-ins (never tested myself though). As Alfresco is open-source, it must be possible to look at what they are doing. Or just ask your questions on Alfresco's forums.
You can try to override "save" from the ribbon or build your own ribbon tab with the behavior you want. It may be trickier overriding "Ctrl-S".
Overriding the ribbon: StackOverflow Question
Video on altering a standard ribbon button: Office Developer Center