Skip to main content
1-Visitor
June 25, 2013
Question

Context Rules turning on/off

  • June 25, 2013
  • 4 replies
  • 2429 views
Hello experts!!

I was wondering... there's a command in ACL which allows me to
automatically turn off the Context Rules Checking in Arbortext?

I really appreciate your response.

Regards.
Paulette Zorrilla

    4 replies

    1-Visitor
    June 25, 2013
    here's a good trick to know:

    from the command line:

    response(menu_cmd("Tools.Context Rules"))

    This will display the command or alias that a menu item executes. For more
    details, look up "menu_cmd" in Help.

    Note: There are a few menu items in 6.0 that are "hidden" by some tricks
    PTC introduced behind the scenes. Edit>Delete Markup being one of them.
    Can't remember the trick to get around that right off the bat ...


    On Tue, Jun 25, 2013 at 1:39 PM, paulette zorrilla <
    paulette.zorrilla@oracle.com> wrote:

    > Hello experts!!
    >
    > I was wondering... there's a command in ACL which allows me to
    > automatically turn off the Context Rules Checking in Arbortext?
    >
    > I really appreciate your response.
    >
    > Regards.
    > Paulette Zorrilla
    >
    1-Visitor
    June 25, 2013
    Ah, it's:

    response(menu_cmd("Edit.&Delete"))

    But I don't know how you would know what variable name they used in order
    to get around those menu items.


    pzorrilla1-VisitorAuthor
    1-Visitor
    June 25, 2013

    Paul! Thank you so much, as always you've help me a lot 😃 I will investigate now how can I execute the command received 😄



    Regards.


    Paulette Zorrilla

    1-Visitor
    June 28, 2013

    set context=off

    1-Visitor
    May 5, 2015

    Is there a way to "force" the user to run context checker before closing a document?

    1-Visitor
    May 5, 2015

    Have a look at the ACL command "doc_incomplete()". We have an ad-hoc document management system, and just check that prior to checkin, but I suppose you could do the same on document close.

    I will note/warn, however, that occasionally this does produce false-positives, so it might also be a good idea to check if the document is saved first, since that typically corrects things, especially when it comes to caret location.

    - keith