SamSon
SamSon

Reputation: 33

Design refresh in Lotus Domino does not include all design elements

I have one template from which I'm trying to refresh the design in my database. However when I run "load design -f database.nsf" or select "Refresh design..." in the context menu in the Domino Designer it always skips the same design elements when updating.

There doesn't seem to be anything wrong with the settings on database level since some elements are updated properly. But I don't know of any other setting on element level than "Prohibit design refresh" that would result in this behavior. If I delete all forms in the database and refresh design again, only those elements that aren't skipped are added to the database.

I have tried creating new copies of database and template, compact, fixup, updall.

Ideas anyone?

UPDATE 1

Checked my elements (forms) access settings like Knut Herrman suggested, but this doesn't seem to be the issue either. The settings on the access tab is "All readers and above" and "All authors and above". (Would have posted picture, but sadly I don't have enough reputation)

UPDATE 2

Tried deleting all elements in the main database and refreshing after with the result that it skips the same elements as mentioned above.

UPDATE 3

I have uploaded a small example with a one template and one database, and only two forms for design elements, if someone wants to check it out. One of the forms is updated on Refresh, the other is not.

If I use Replace instead it works fine btw.

Upvotes: 2

Views: 1653

Answers (4)

Richard Schwartz
Richard Schwartz

Reputation: 14628

There is an issue with a Language setting that was applied to FormOne in your example database. I think the refresh is ignoring elements in the template that it does not think match your current language.

When I looked at the fields tab in the FormOne design properties, I saw an item called $BabelInfo. This item does not exist in FormTwo. My hunch was that this has something to do with Language settings, so I went looking for the Language settings in Domino Designer. I couldn't find them in the regular dialogs and editing panes! But when I looked at both forms in DXL¹ there was a Language property set to EN-gb for FormOne, and there was no Language setting for FormTwo.

Using the DXL editor, I removed the Language setting from FormOne. On first attempt, this had no effect, but then deleted FormOne from the database - which I presumed had inherited the Language setting, though I'm not sure I checked that. I did a refresh and it added FormOne to the database. Then I made another change to FormOne in the template and refreshed again, and FormOne in the database was correctly updated.

¹ I had to search around before I figured out how to get at the form data in DXL. A right click in the forms list in navigation pane brings up "Edit in DXL". That option is not available in the list of forms in the main pane.

Upvotes: 2

Phil M Jones
Phil M Jones

Reputation: 825

This might seem rather obvious, but double-check that the "Prohibit design refresh or replace to modify" property is not selected in your design element properties, i.e. there should be no ticks in the column highlighted in the image below if you want all elements to refresh.

Capture

I suspect this may not be the solution, as you said Replace is working, but I thought I'd mention it.

Upvotes: 0

D.Bugger
D.Bugger

Reputation: 2359

It could also be the dates in the main and the template database, that somehow the element in the main db is newer.

Quick solution: delete the element in the main database and refresh it from the template.

Upvotes: 0

Knut Herrmann
Knut Herrmann

Reputation: 30960

Most likely, your missing design elements need a certain role.

enter image description here

Define those roles in your destination database's ACL and set the roles for you, your servers and relevant users.

enter image description here

Upvotes: 0

Related Questions