Anonymous_User Absent Member.
Absent Member.
181 views

Text Delimiter Driver: Output CSV File


Dear All,

Would like to ask, if i've created, updated, deleted the user record, i
would like to output the csv file to inform the application owner.
I've tried to use text delimiter driver, subscriber channel to output
the file, unfortunately it's not going through the OrderOutputfields
policy.

Is that anyway to do it?

Please advise.


Here is the log:-

[12/16/13 18:24:01.750]:ALUMNI_TO_POLYU-ANAD ST:Start transaction.
[12/16/13 18:24:01.751]:ALUMNI_TO_POLYU-ANAD ST:Processing events for
transaction.
[12/16/13 18:24:01.751]:ALUMNI_TO_POLYU-ANAD ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.11.4904">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<add cached-time="20131216102401.678Z" class-name="User"
event-id="ALUMNI_TO_POLYU-IDS#Publisher#0"
qualified-src-dn="O=PolyU\OU=Users\OU=Alumni\CN=abc9990003"
src-dn="\DEV-POLYU_IDS\PolyU\Users\Alumni\abc9990003"
src-entry-id="76596" timestamp="1387189441#109">
<add-attr attr-name="puAlumniStatus">
<value timestamp="1387189441#109"
type="string">MATCH_NONE</value>
</add-attr>
<add-attr attr-name="puAccNetID">
<value timestamp="1387189441#98"
type="string">999099913</value>
</add-attr>
<add-attr attr-name="Given Name">
<value timestamp="1387189441#102" type="string">Pui
Theng</value>
</add-attr>
<add-attr attr-name="Surname">
<value timestamp="1387189441#105" type="string">Chan</value>
</add-attr>
<add-attr attr-name="Full Name">
<value timestamp="1387189441#103" type="string">Chan Pui
Theng</value>
</add-attr>
<add-attr attr-name="puAlumniID">
<value timestamp="1387189441#97"
type="string">abc9990003</value>
</add-attr>
</add>
</input>
</nds>
[12/16/13 18:24:01.753]:ALUMNI_TO_POLYU-ANAD ST:Applying event
transformation policies.
[12/16/13 18:24:01.754]:ALUMNI_TO_POLYU-ANAD ST:Applying XSLT policy:
%+C%14Csub-ets-GatherAllUserInfo%-C.
[12/16/13 18:24:01.754]:ALUMNI_TO_POLYU-ANAD ST:Policy returned:
[12/16/13 18:24:01.774]:ALUMNI_TO_POLYU-ANAD ST:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.6.11.4904">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input/>
</nds>
[12/16/13 18:24:01.775]:ALUMNI_TO_POLYU-ANAD ST:End transaction.
[12/16/13 18:24:02.098]:ALUMNI_TO_POLYU-ANAD ST:Start transaction.


Thanks.

Regards,
Alan


--
alanchan1984
------------------------------------------------------------------------
alanchan1984's Profile: https://forums.netiq.com/member.php?userid=3291
View this thread: https://forums.netiq.com/showthread.php?t=49479

Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: Text Delimiter Driver: Output CSV File

What is your XSLT doing to the document? You may want to post its
contents here for review.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Text Delimiter Driver: Output CSV File

alanchan1984 wrote:

> Would like to ask, if i've created, updated, deleted the user record,
> i would like to output the csv file to inform the application owner.
> I've tried to use text delimiter driver, subscriber channel to output
> the file, unfortunately it's not going through the OrderOutputfields
> policy.


What is in your driver filter?

--
If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Text Delimiter Driver: Output CSV File

On Mon, 16 Dec 2013 10:35:12 +0000, alanchan1984 wrote:

> Would like to ask, if i've created, updated, deleted the user record, i
> would like to output the csv file to inform the application owner.


Yes, that's possible. If you're doing this all in one DelimText driver,
you have to enable event loopback from publisher to subscriber.


> tried to use text delimiter driver, subscriber channel to output the
> file, unfortunately it's not going through the OrderOutputfields policy.


Your policy (sub-ets-GatherAllUserInfo) is returning an empty document.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Text Delimiter Driver: Output CSV File


Hi all,

I've found that my policy was corrupted. Recreated the driver and
solved.
Thanks for your support.

Regards,
Alan


--
alanchan1984
------------------------------------------------------------------------
alanchan1984's Profile: https://forums.netiq.com/member.php?userid=3291
View this thread: https://forums.netiq.com/showthread.php?t=49479

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.