Evgeny Shvarov · Nov 30, 2017 go to post

Thanks, Dmitry!

Though the parameter for a 'namespace-to-map' with a name "Database" looks weird.

Evgeny Shvarov · Nov 27, 2017 go to post

Interesting about MANAGEDEXTENT. 

I'm curious, what are the typical use cases, when MANAGEDEXTENT can be helpful?

Evgeny Shvarov · Nov 27, 2017 go to post

Interesting. Never knew about MANAGEDEXTENT parameter, mentioned by @Robert.Cemper. And yes, backup your globals.

But in your case, @Nikita Savchenko, I would go with the following. Consider you have class A and rename it to class B.

1 - is yours.

1a. When duplicating be SURE, that you take class storage definition from A, not generate it because of compile. Change places with global A  to global B in storage definition and compile class B.

It's MANDATORY to take class A storage def to B class definition and compile after that and not use generated storage definition in class B.

2. Merge data globals from class A to class B. E.g.

USER> m ^BD=^AD

3-4 - yours.

5. Load new scripts and make global merges and test.

6. Is yours.

Evgeny Shvarov · Nov 21, 2017 go to post

Thanks, John, Jeff. It's a bug. We have this behaviour but only for Groups. But it seems it works for Tags as well.

Evgeny Shvarov · Nov 20, 2017 go to post

Hi, Mike! Will do, but have you tried with WRC via this entrance?

Click on it and you'll be redirected to InterSystems Login

Evgeny Shvarov · Nov 16, 2017 go to post

Thanks, Konstantin!

And here is the link to the demo.

Do you want to add an option to share the search? E.g. introduce some share results button in UI which would provide an URL with added search option in URL? It would be very handy if you want to share search results with a colleague.

Evgeny Shvarov · Nov 16, 2017 go to post

Thanks, Sergey!

> What did you use for screen capture to GIFs?

Google it and you'll get thousands. It's a really number of it. I'm using LICEcap.

Evgeny Shvarov · Nov 14, 2017 go to post

Thanks, Danny!

Actually, I raised already similar discussion but I still prefer object callbacks because of better code readability.

BTW, if I have both unified Trigger and OnBeforSave callback would they fire both?

And why don't we have unified ObjectScript callbacks?

Evgeny Shvarov · Nov 13, 2017 go to post

Hi, Kevin!

I can advise trying Caché Class Explorer which exposes packages, classes, methods with code and interactively points to classes documentation on a given server and can be used to solve your task in my opinion.

Pinging @Nikita Savchenko to provide more information.

Evgeny Shvarov · Nov 9, 2017 go to post

Hi, Vitaly!

Thanks for your input! This is very interesting and totally different approach to solve the task which I like every time about InterSystems technology that problems can be solved with different approaches and you never know how many options even exist )

Evgeny Shvarov · Nov 7, 2017 go to post

So, the final recipe looks like following:

For Insert and Update calculate the hash e.g. with MD5 and put it in Hash property. Index it with not unique index.

Find duplicates with SQL query on Hash where group by for hash shows more than one occurrence.

Loop through all the values with same hash just and check Text property values to be sure that they are duplicates but not hash collisions.

Thanks, Alex, Dmitry, Robert!

Evgeny Shvarov · Nov 6, 2017 go to post

Thanks, Eduard. But I'm looking for duplicates, not for similar records. How can %SIMILARITY help here?

Evgeny Shvarov · Nov 6, 2017 go to post

Thanks, Dmitry. Yes, the focus is - best performance.

But what about the index declaration? There is a limitation of 511 symbols in an index, right?

Should I put that in an index declaration or it will solve it for me automatically if I index an entry with value >511 symbols?