5 Replies Latest reply on Jul 14, 2016 8:30 AM by Roger Palmen

    Check the user's input in Asset Framework

    SBURNEL

      Hello,

      Is it possible to verify the input of a value in the asset framework? The value which I wish to verify, should be between 0 and 1.

      For information, the  AF is on version 2014 R2.

        • Re: Check the user's input in Asset Framework
          Rhys Kirk

          You would need to create a custom Data Reference that supports SetValue where you could embed the logic for checking the value being entered.

           

          Or you have an application layer on top of AF where your logic is implemented for data entry.

           

          For some cases you might be able to use an AF Enumeration Set for a predetermined number of values that could be entered. This would only capture a small number of use cases though (e.g. if the user could only enter 0, 0.1, 0.2, ..., 1 then you could do that as an AF Enumeration Set.)

           

          Or if you upgrade your AF you could use the AF Analytics to do the range check. You have an "input" AF Attribute where the user updates the value, which doesn't need a PI Point behind it. Then your Analysis takes that as input, range checks it and either updates another AF Attribute (with a PI Point behind it) or uses NoOutput().

          2 of 2 people found this helpful