Clarity

  • 1.  Department OBS can it be marked as required?

    Posted Oct 19, 2010 07:06 AM
    The Department OBS is visible on all views when creating Ideas and Project etc. Is there a way to make it a required field to ensure that it gets completed? We set most of our security in the system on the OBS itself, if it gets left empty it locks users out from editing, as an admin I can set it for them to resolve the edit issue but I would rather we mark it required to ensure people complete it. Is there a way to do this?


  • 2.  RE: Department OBS can it be marked as required?

    Posted Oct 19, 2010 08:18 AM
    We have never been able to make an OBS value mandatory. :-(

    Enhancement Requests have been raised (often) to CA with regard to that!

    --

    You could you implement a "Process" that "fixed" the data (with some default/derived entry) after the user saves the record (either an immediately triggered process or a scheduled one)


  • 3.  RE: Department OBS can it be marked as required?

    Posted Oct 19, 2010 11:18 AM
    It seems that it is quite difficult for a CA programmer to add a small white asterix in a red box to an OBS. :)

    (BTW - I know there is more to it than that.)


  • 4.  RE: Department OBS can it be marked as required?

    Posted Oct 27, 2010 01:28 PM
    [color=#121E9C][size=4][font=Arial]For form entered data, it's a simple task to add a trigger that generates a custom error message using the PAC_EXC_RAISE_APPLICATION_ERROR_SP stored procedure.
    [font][size][color]


  • 5.  RE: Department OBS can it be marked as required?

    Posted Oct 24, 2010 07:02 PM
      |   view attached
    Here's what we did....(Note this is on the IDEA object, which forces OBS to be entered, and then the convert idea process copies it across to project), and this is a Customization, so is not supported or endorsed by CA.

    You should also backup the "footer_en.xsl" file before making this change.


    Step 1 : Place attached z_cus_idea.js in niku\clarity\webroot\ui\evolution2\js folder.
    Step 2 : Do following change :-
    File : niku\clarity\webroot\ui\evolution2\xsl\footer_en.xsl
    Change: Following piece of code to be added at the end of file just above the existing </xsl:template> tag in the XSL file:
    <!-- Customization Starts : -->
    <script language="JavaScript1.2" src="ui/evolution2/js/z_cus_idea.js"> </script>
    <script>
    try
    {
    pageInitialize();
    }
    catch(e)
    {
    }
    </script>
    <!-- Customization Ends -->
    Step 3 : Refresh Cache or restart app. (Note: restart app will have to be outside of business hours)

    Attachment(s)

    js
    z_cus_idea.js   2 KB 1 version


  • 6.  RE: Department OBS can it be marked as required?

    Posted Oct 28, 2010 10:15 AM
    This looks like a great solution. Do you know if CA Support allows this? We want to use something similar.


  • 7.  RE: Department OBS can it be marked as required?

    Posted Oct 28, 2010 01:56 PM
    [color=#121E9C][size=4][font=Arial]CA gives approval on a case by case basis so you'll have to find out if your modifications are allowed. The ones that I've implemented have all survived upgrades and fix packs without any issues.[font][size][color]