Skip to Content
author's profile photo Former Member
Former Member

How can i know the system variable for checking the MA mode (display or change)?

Dear all,

How can i know the system variable for checking the MA mode (display or change)?

Best regards,

phan

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Nov 06, 2015 at 10:31 AM

    Hi Phan,

    This is available in Reference Guide. It is method retrieveCurrentEditorInfo, which returns object IapiEditorInfoIfc.

    From the object you can use method isBeingEdited().

    Bogdan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Bogdan Toma

      Hello Bogdan,

      Your explanation is bang on. In fact, now I remember such scenarios from few of my earlier assignments and using the IapiEditorInfoIfc APIs to circumvent it. I specifically faced this problem when I modified a Contract Document from workflow postscript and there were modification that happened in Validate script as well.

      I will still be honest and say that I have used isObjectAccessMode() more than once after that and it has worked without any glitches. I think it is useful when we don't have concurrent editing of the same document, in other words - for simple implementations.

      However, I cannot come up with any particular advantage of using these methods.

      Thanks

      Devesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.