Book a Demo

Author Topic: Refresh Shared Project - and Refresh from Database  (Read 4430 times)

jnapier

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Refresh Shared Project - and Refresh from Database
« on: June 21, 2006, 03:09:23 pm »
I have a branch of shared packages in my current model that represent the framework of a third party API. The third party released an updated version of the API, so I updated all of the shared packages.  How can I get the latest version of the shared packages into my model that is referencing them?  The Get Latest option is grayed out.  

Also, how do I refresh a view where the model is stored in a database repository?  For example user 1 made some updates and I want to refresh so that the updates are visible on my screen.

Thanks for any help.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Refresh Shared Project - and Refresh from Data
« Reply #1 on: June 22, 2006, 03:17:14 pm »
If you're using a shared repository, you will just need to refresh the model to see the other users changes.

If you're using individual repositories (such as local eap files) then have a look at 'Project' | 'Version Control' | 'Set Version Control Options' and tick 'This model is private'.  This should enable the 'Get All Latest' option.

jnapier

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Refresh Shared Project - and Refresh from Data
« Reply #2 on: June 23, 2006, 08:05:28 am »
But the shared packages form another project haven't been updated in the current model so the changes haven't been pushed to the repository yet.  Thats what I am asking, how do I get the changes from the shared packages from another project to update in the current model I am working on if Get Latest is unavailable.

Also, you said Refresh the Model, how do I do that?  Some stuff is so hard to find in EA.  Could you tell me the direction to this function?

Thanks.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Refresh Shared Project - and Refresh from Data
« Reply #3 on: June 25, 2006, 03:39:15 pm »
How to reload / refresh a model or parts of it

The whole model:
1. File -> Reload current project

An individual view or package in the project view:
1. Right click the view or package
2. Contents -> Reload current package

Cheers,
David.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Refresh Shared Project - and Refresh from Data
« Reply #4 on: June 26, 2006, 04:22:26 am »
And an individual diagram:
1. Right-click the diagram tab
2. On the context menu click Reload '<Diagram Name>'
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Refresh Shared Project - and Refresh from Data
« Reply #5 on: June 29, 2006, 06:38:55 pm »
The following is included from an email reply to this topic.

After a discussion with a colleague we have concluded that in the situation where you have changes that were made outside of the shared model, that you want reflected in the shared model a 'Get Latest' or 'Get All Latest' command is needed to update the model.  We have logged the ability to do this as a feature request for a future version.

Until such a feature is implemented you have two options.

1. Performing a Check Out command will result in the package being updated.  You can then perform an Undo Check Out command to release the file without causing a further update.  For more information on the commands mentioned here please see http://www.sparxsystems.com/EAUserGuide/index.html?vcmenu.htm.

2. You can temporarily disable the shared model flag to enable the Get Latest and Get All Latest commands.  However, before doing this you need to ensure that no-one has a package checked out into the current model.  If anyone does have a package checked out they will lose any changes they have made during the Get All Latest command.  After doing this, remember to reset the model as shared.  For more information on setting shared or private models please see http://www.sparxsystems.com/EAUserGuide/index.html?specifyingprivateorsharedm.htm.