Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behaviour of Method on superseded Items #3

Open
AngelaIp opened this issue May 16, 2018 · 2 comments
Open

Behaviour of Method on superseded Items #3

AngelaIp opened this issue May 16, 2018 · 2 comments
Assignees
Labels
Type: Question I want to know more about this project.

Comments

@AngelaIp
Copy link
Contributor

Hi,

when I use Refresh-from-DB on a superseded Part, I will get the database content of the latest version of the part. According to the code, this seems to be indended behavour.

But from my point of view, this behaviour is sometimes a little bit confusing to the enduser.
Main reason: We also use the non-current-overlay project. But the non-current-overlay will not update after pressing refresh from db from a superseded Part.

I expect you will now ask the following legitimate question:
"Why should anyone press Refresh on a Superseded Part at all? Superseded Parts cannot be changed, so there is nothing to be updated."
A good argument! But on the basis of my observations in a real productive environment, I can say: People just love refresh! Some of them refresh quite everything! I don´t have an explanation for this, but this is what I have seen.
And they also refresh superseded items. And then they are confused that they see the latest version of the part but also the non-current overlay.

What is the best way to deal with this?
I have made a SP11 pull request some minutes ago. I don´t think it´s a big task to change the Method for improved handling of superseded items. But the "show the latest" Part is also a quite useful feature.
Maybe it would be a better idea to improve the handling of the non-current-overlay?

Best regards!
Angela

@AngelaIp
Copy link
Contributor Author

AngelaIp commented Oct 4, 2018

Hi,

I think my comment was a bit misleading. In my case, with 'superseded' Items I meant earlier revisions of an Item. I didn´t mean the classic 'superseded" Items created by a change process like the Express ECO.

I right now use the following customizations:

  1. I changed the behavior of the refresh from db button to stick to the current generation. This has pros&cons.
    Pro: No conflict with previous item revisions. No conflict with non-current overlay.
    Con: It eliminates the features ability to show the latest item version automatically.

I bypassed the disadvantages with the following customizations:
2. I extended the 'PE_CreateNewRevision' Action to refresh the Form and tabs automatically.
3. I use an extra CUI button for "Show me the latest version of this Item".

I wouldn´t say it´s the best way to face this issue. It´s one possible solution. But it´s suitable for customers that aren´t afraid of using a battery of refresh buttons.

Angela

@AngelaIp
Copy link
Contributor Author

I think the conflict with the non-current-overlay project can be solved by using an onFormPopulated event instead of an onLoad event for the overlay Method. I am not able to test it, but maybe it´s of interest for others that use this combination.

@EliJDonahue EliJDonahue added Type: Question I want to know more about this project. and removed hacktoberfest labels Mar 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question I want to know more about this project.
Projects
None yet
Development

No branches or pull requests

3 participants