246
Points
Questions
5
Answers
46
-
- 3947 views
- 3 answers
- 0 votes
-
if you are trying to create a report that includes some summary in Excel but also include a single file with PDF versions of ALL the drawings uploaded to A9, you will have to write a long and complex PX code to do that for you.
I’ve done it and it works, but It’s better to pay for a commercial library file conversion tool than using open source version of various toosl.
- 1301 views
- 3 answers
- 0 votes
-
- 3396 views
- 1 answers
- 0 votes
-
- 3319 views
- 4 answers
- 1 votes
-
If you want a log specific to your PX, then you have to write a Java module that will insert your log4j logger into the existing A9 logger context.
In 9.3.4, A9 is using log4j version 1, but in 9.3.6, I found out that it’s using the log4j 2. The Apache log4j 2 content showing the “how to” programmatically modify existing logger context is not correct. You will have to use .withxxx() fluid methods to create a new logger and insert insert if the A9 logger context, while making sure that you do not create loggers that write duplicate entries to a single RollingFileAppender
Sorry if to high level, but what I wrote is not for public, but company proprietary content
And finally, if you setup a px to work using log4j 2 framework and leave a jar file under …/extensions folder => it MAY cause existing PXs that use log4j to FAIL.
- 1530 views
- 4 answers
- 0 votes
-
Another way is to write a SDK based code to traverse down from the “root node” and write down all the child nodes. This will be database agnostic and version agnostic.
Though painful, there is a way to get what attributes and properties are associated with any A9 object. ( had to write this to verify configuration against Excel based “definition” ), since all the configuration was done manually ( error prone )
- 2029 views
- 3 answers
- 0 votes
-
- 1453 views
- 6 answers
- 0 votes
-
- 1456 views
- 3 answers
- 0 votes
-
Your request is in two parts:
1) inactivate A9 user => easily done via Groovy script given id. the question to ask is when will the script be triggered (if residing in A9)
2) scan LDAP repository to detect “missing” or “inactive” user => this one you have to write custom code -> depending on your LDAP repository (AD or other ).If your intent is to automate access roster review, I would write code that scans the Active Directory group holding your A9 users and compare that against SDK code based pull of all the users with active.inactive status and generate CSV file showing “mismatches”
- 1634 views
- 3 answers
- 0 votes
-
Have you check the list of event available to Event PX? I don’t know if there is ANY event that will detect changes to a field. You will have to do that yourself. When an object is saved, check the field of interest against some data you keep that is the “previous” value and take action on it. If all you are interested is just processing the selection, first write the logic that process the field value, and come up with the triggering mechanism. In the worst case, you can have a SDK code sitting outside of A9 that periodically checks for the modified objects.
- 1472 views
- 3 answers
- 0 votes