Link to home
Start Free TrialLog in
Avatar of adspmo
adspmo

asked on

Personal View problem Question

Hi

I have a question about personal views

If the original was Desktop and the design changes do I loose the docs that were there.Is there anyway to reset and retain the info??


From Hemanth

Which is misleading in case of personal views.. where personal view have main design template and other functional views per user.

Always Personal views are dangerous.. as they won't update dynamically when the main design of the view is changed

Any help welcome

James
Avatar of qwaletee
qwaletee

Personal VIEWS can't lose documents when replaced, because hey select docs based on a formula.  The new formula, if it matches the old, will return the same set of documents

Flders is another story.
teh real issue is that when design changes for SHARED PERSONAL ON FIRST USE, it does not auomatcially update the derived personal views.
ASKER CERTIFIED SOLUTION
Avatar of HemanthaKumar
HemanthaKumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of adspmo

ASKER

I believe the original was done with SHARED Desktop,PERSONAL ON FIRST USE.

I used the same selection formula, the column data is different
Then delete the db icon on workspace and readd it to see if the changes does reflect or not ?
Avatar of adspmo

ASKER

This databse is used by hundreds of people

You mentioned there may be a way to remove the old db and add the new by script.

Do you have such an animal

James
It will require use intervention, but only to answer a Y/N question.

server := "...";
file := "...";
@Command([WindowWorkspace]);
@Command([AddIcon]; server : file);
@Prompt([OK]; "Remove icon"; "In a moment, Lotus Notes will ask yo if you wish to remove the database icon.  Please answer yes.  The button will automatically add an updated version immediately afterward.);
@Command([EditClear]);
@Command([AddIcon]; server : file);
Avatar of adspmo

ASKER

I came up with this one

The environment stuff is used to hide the button once it has been pushed

@PostedCommand([FileCloseWindow]);
@PostedCommand([FileCloseWindow]);
@PostedCommand([WindowWorkspace]);
@PostedCommand( [AddDatabase] ;@DbName );
@PostedCommand([FileDatabaseRemove]);
@PostedCommand( [AddDatabase] ;@DbName );
@SetEnvironment("Pushed"; "Y")
That should do.. but I have seen much better ones.. doesn't remember where. Once I find it I will post it here