Hi Ryan,

 

Could you confirm the version you posted the code from as we don't have the
service filters you refer to and the active link runs as follows without the
DocID field:

 

ActiveLink: RKM:KAM:ServiceCall_initOnWinDisplay - Wed Apr 17 2013 15:14:09

 

True actions:

 

True action:
ARACTService(itsm,RKM:KnowledgeArticleManager,0,inputField:[302300653:(new
EnumType(9)),302300500:(F(windowID,302300500).G()),302300539:(F(windowID,302
300539).G()),302300544:(F(windowID,302300544).G()),302301021:(F(windowID,302
301021).G()),1000000001:(F(windowID,1000000001).G())],outputField:[302300566
:(fq0_1.F(302300566)),302300529:(fq0_1.F(302300529)),302300540:(fq0_1.F(3023
00540)),302300569:(fq0_1.F(302300569)),302300572:(fq0_1.F(302300572)),302300
571:(fq0_1.F(302300571)),302300570:(fq0_1.F(302300570)),302300203:(fq0_1.F(3
02300203)),302311133:(fq0_1.F(302311133)),302311145:(fq0_1.F(302311145)),302
300594:(fq0_1.F(302300594))]);

 

action 0

 

ARACTService(4, itsm, RKM:KnowledgeArticleManager, 0,inmap:[302300653:9
9,302300500:Work In
Progress,302300539:,302300544:SPR000000000153,302301021:KM0050560C63F2K65uUQ
7_xnAAVkUA,1000000001:- Global
-],outmap:[302300566:(fq0_1.F(302300566)),302300529:(fq0_1.F(302300529)),302
300540:(fq0_1.F(302300540)),302300569:(fq0_1.F(302300569)),302300572:(fq0_1.
F(302300572)),302300571:(fq0_1.F(302300571)),302300570:(fq0_1.F(302300570)),
302300203:(fq0_1.F(302300203)),302311133:(fq0_1.F(302311133)),302311145:(fq0
_1.F(302311145)),302300594:(fq0_1.F(302300594))])

 

 

We are on 7.6.04 SP2

 

Cheers

 

Peter

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Downing, Ryan
Sent: 17 April 2013 14:52
To: [email protected]
Subject: Re: RKM prefixing Article ID

 

** 

Hi Nathan,

 

The following Active Links call services which return the DocID:

RKM:CNK:OnBtnCreate_100_CreateArticleRecords

RKM:KAM:ServiceCall_initOnWinDisplay

 

The following filters call services which formulate the end value:

RKM:KAM:OnService_015_GetKAMIDs

RKM:KAM:OnService_020_SetDocID   (This filter is the one which creates the
value of the DocID)

 

Set fields is:

z1D_Char003 = "KBA" + SUBSTRC($z1D Char01$, LENGTHC($z1D Char01$) - 8,
LENGTHC($z1D Char01$))   (This is why there is 11 characters total)

 

This value is returned to calling AL:   RKM:KAM:ServiceCall_initOnWinDisplay

(From AL log):   

ActiveLink Start:- RKM:KAM:ServiceCall_initOnWinDisplay |
RKM:KnowledgeArticleManager/Default Administrator View - Wed Apr 17 2013
4:55:42 AM ms 797

True actions:

action 0

 

ARACTService(4, vw-sjc-rem-dv92, RKM:KnowledgeArticleManager,
0,inmap:[302300653:9 9,302300500:Work In
Progress,302300539:,302300544:SGP000000000009,302301021:KMGAA5V0GPML4AML448F
62BH336WHL,1000000001:- Global -,302300654:Calbro
Services,1000000058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutio
nTemplate,3006002:,302298971:Default Administrator
View,112:1000000003;,60800:,60801:,302300502:,302300507:KBA00000003,3006006:
,302298981:KBA000000000003,3006004:,3006003:],outmap:[302300566:(fq0_1.F(302
300566)),302300529:(fq0_1.F(302300529)),302300540:(fq0_1.F(302300540)),30230
0569:(fq0_1.F(302300569)),302300572:(fq0_1.F(302300572)),302300571:(fq0_1.F(
302300571)),302300570:(fq0_1.F(302300570)),302300203:(fq0_1.F(302300203)),30
2311133:(fq0_1.F(302311133)),302311145:(fq0_1.F(302311145)),302300594:(fq0_1
.F(302300594)),302299731:(fq0_1.F(302299731)),302301079:(fq0_1.F(302301079))
,302298971:(Null)])

 

Hope this helps.

Regards,

Ryan.

 

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Nathan Brandt
Sent: Wednesday, April 17, 2013 2:09 AM
To: [email protected]
Subject: RKM prefixing Article ID

 

** 

We want to put a prefix on Article ID (DOCID in database view
RKM_KnowledgeArticleManager) for any KM article created.

 

We are able to prefix DE_ to Request ID, but seems like Article ID is
generated from Request ID somehow and we are not able to figure it out even
after looking all filter, sql logs.

 

For example, for an article, Request ID generated is seen as
DE_KBA000000108, but DOCID is still KBA00000108. Another interesting thing
is without our prefix DE_, length of RequestID is 12 characters (KBA + 6
zeros + 108) and that of DOCID is 11 characters (KBA + 5 zeros + 108).

 

Has anyone tried putting prefix on Article ID?

 

~ Nathan

 

_ARSlist: "Where the Answers Are" and have been for 20 years_ 

_ARSlist: "Where the Answers Are" and have been for 20 years_ 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to