Forum Discussion
levi_bryant
12 years agoContributor
Hi James,
I think i may be a bit confused on your use of find and Aliases. In my mind the two are quite different. And in my opinion one is much more helpful and wins where Aliases fails.
Is this the type of find you are using?
http://support.smartbear.com/viewarticle/55436/
If you are then I don't think Aliases.RefreshMapping is going to do anything for you.
Sys.Refresh() might but I doubt it.
In my experience, using the Find method as outlined in the link above has found 100% of the objects I have ever come in contact with.
I used to use namemapping until i realized it was unreliable in the long run. If something changes you have to modify your name mapping to account for the change. When using the find method I feel my odds are better that if there is a change my find will still located its object.
So back to my last answer. If you use the find method I have shown in the link above then you may need to run the find each time after you drag that document to the trash can. The reason being that perhaps the index or some other property has changed since you dragged that document to the trash.
When using the find method you need to choose which properties and values you send to it carefully. I never use the index or any other property that may get modified.
I think i may be a bit confused on your use of find and Aliases. In my mind the two are quite different. And in my opinion one is much more helpful and wins where Aliases fails.
Is this the type of find you are using?
http://support.smartbear.com/viewarticle/55436/
If you are then I don't think Aliases.RefreshMapping is going to do anything for you.
Sys.Refresh() might but I doubt it.
In my experience, using the Find method as outlined in the link above has found 100% of the objects I have ever come in contact with.
I used to use namemapping until i realized it was unreliable in the long run. If something changes you have to modify your name mapping to account for the change. When using the find method I feel my odds are better that if there is a change my find will still located its object.
So back to my last answer. If you use the find method I have shown in the link above then you may need to run the find each time after you drag that document to the trash can. The reason being that perhaps the index or some other property has changed since you dragged that document to the trash.
When using the find method you need to choose which properties and values you send to it carefully. I never use the index or any other property that may get modified.