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:KMGAA5V0GPML4AML448F62BH336WHL,1000000001:-
 Global -,302300654:Calbro 
Services,1000000058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutionTemplate,3006002:,302298971:Default
 Administrator 
View,112:1000000003;,60800:,60801:,302300502:,302300507:KBA00000003,3006006:,302298981:KBA000000000003,3006004:,3006003:],outmap:[302300566:(fq0_1.F(302300566)),302300529:(fq0_1.F(302300529)),302300540:(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)),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:arslist@ARSLIST.ORG] On Behalf Of Nathan Brandt
Sent: Wednesday, April 17, 2013 2:09 AM
To: arslist@ARSLIST.ORG
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_

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

Reply via email to