Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable Repository Refresh

Status
Not open for further replies.

CrystalizeCanada

Instructor
Mar 4, 2009
141
CA
Hi,

I have enable repository refresh selected when I save my report to my Crystal Reports Server. When I reopen this report from the CR Server in Crystal Reports XI R2 it always gets the latest version of the custom functions in my repository. So my reports are up to date with the changes I made to my custom functions.

The problem is when I open it directly in CR Server XI R2 it doesn't check for new repository changes. I have to keep republishing all my reports to the server once I make a change to a repository function. At least I have to republish all the reports that use that custom function - and remembering which ones use the function in question is laborious.

Does anyone know of a way there a way around this behaviour ?

Gordon BOCP
Crystalize
 
Hi,
I believe that opening directly from CR Server is not designed as a 'standard' method of virewing the report, so it does not have all the pre and post viewing actions ( like checking the repository) that viewing in CR Reports ( or from a web page and/or InfoView ) would trigger.


Since they work fine from CR Reports ( opening the CR Server published report) why would you need to republish?



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Hi Turkbear,

Thanks for the reply.

When I make a change to a repository custom function a whole number of already published reports could be affected if they use this function. When opened via a browser and refreshed these already published reports don't show the new changes as they are not updating their repository functions. Therefore their calculations are incorrect. (When I'm making the change to the repository custom function I could be doing this from a blank report so no direct change is make to any reports that use this function.)

I have to therefore figure out which reports use this custom function and re-save them to the CR Server.

The fact that the work fine from CR itself (because it has a File, Option setting that is set to always update from the repository) doesn't help my users who don't have CR installed and don't look at the reports that way.

CR Server/BO Enterprise is primarily designed as a way for end-users to view reports and unless I'm missing something this lack of automatic repository refresh is annoying and requires constant resaving.

Gordon BOCP
Crystalize
 
Hi,
OK, I have a clearer picture of what you are saying -
Editorial follows, feel free to ignore
I must add, however, that CR Server/BOE are not designer programs and, as the developer, it is your responsibility to keep track of changes that affect existing reports and to fix them - In some ways, publishing a report means it is ready to use and will need no further design work..By changing the underlying objects for that report, you have eliminated that property and , by extension, assumed the responsibility to handle the tails of that action.



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
I republish all the reports by using the workbench, right clicking a package (folder) and choosing publish to the enterprise. It's quicker than opening up each one and seeing which has used the function.




Gordon BOCP
Crystalize
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top