Xafari Numerator feature

StatusIDPriorityType
Open40958MajorFeature
ProfileReply
GoranClient

Hi,
I'm using your numerator in one class. Is it possible to disable adding new number it if is needed?

My example is :
Class ItemTest has propeties TestNumber and IsTemplate.
ItemTests are numbered but ItemTests with IsTemplate=True should be without TestNumber.

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello!

You can implement this behavior with a Custom Numerator.
The attached file contains a project with an example of this behavior.
When the ItemTest object is saved, the Numerator is added depending on the IsTemplate property.

The example does the following:
1.Custom Numerator has been created, which inherits the CustomNumerator class (see file TestCustomNumerator)
2. Added a link between object and Custom Numerator (see module NumeratorTestProjectModule, application_SetupComplete)

Feel free to contact us if you have any questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

Attached files:
Write US