RKM prefixing Article ID

2013-04-17 Thread Nathan Brandt
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_KBA00108, but DOCID is still KBA0108. 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

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


Re: RKM prefixing Article ID

2013-04-17 Thread Downing, Ryan
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:SGP0009,302301021:KMGAA5V0GPML4AML448F62BH336WHL,11:-
 Global -,302300654:Calbro 
Services,100058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutionTemplate,3006002:,302298971:Default
 Administrator 
View,112:13;,60800:,60801:,302300502:,302300507:KBA0003,3006006:,302298981:KBA0003,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_KBA00108, 
but DOCID is still KBA0108. 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


Re: RKM prefixing Article ID

2013-04-17 Thread Peter Romain
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()),11:(F(windowID,11).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:SPR0153,302301021:KM0050560C63F2K65uUQ
7_xnAAVkUA,11:- 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:arslist@ARSLIST.ORG] On Behalf Of Downing, Ryan
Sent: 17 April 2013 14:52
To: arslist@ARSLIST.ORG
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:SGP0009,302301021:KMGAA5V0GPML4AML448F
62BH336WHL,11:- Global -,302300654:Calbro
Services,100058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutio
nTemplate,3006002:,302298971:Default Administrator
View,112:13;,60800:,60801:,302300502:,302300507:KBA0003,3006006:
,302298981:KBA0003,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: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_KBA00108, but DOCID is still KBA0108. 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


Re: RKM prefixing Article ID

2013-04-17 Thread Nathan Brandt
Thanks guys for your reply. Actually I forgot to mention, we are on 7.6.04.
What Ryan mentioned works in 8.*.
But we figured it out for 7.6.04 as well, it is done in RKM Plugin through
filter API call.


On Wed, Apr 17, 2013 at 7:54 PM, Peter Romain 
p.romain.arsl...@parsolutions.co.uk wrote:

 **

 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,302300539).G()),302300544:(F(windowID,302300544).G()),302301021:(F(windowID,302301021).G()),11:(F(windowID,11).G())],outputField:[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))]);
 

 ** **

 action 0

 ** **

 ARACTService(4, itsm, RKM:KnowledgeArticleManager, 0,inmap:[302300653:9
 9,302300500:Work In
 Progress,302300539:,302300544:SPR0153,302301021:KM0050560C63F2K65uUQ7_xnAAVkUA,11:-
 Global
 -],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))])
 

 ** **

 ** **

 We are on 7.6.04 SP2

 ** **

 Cheers

 ** **

 Peter

 ** **

 *From:* Action Request System discussion list(ARSList) [mailto:
 arslist@ARSLIST.ORG] *On Behalf Of *Downing, Ryan
 *Sent:* 17 April 2013 14:52
 *To:* arslist@ARSLIST.ORG
 *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:SGP0009,302301021:KMGAA5V0GPML4AML448F62BH336WHL,11:-
 Global -,302300654:Calbro
 Services,100058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutionTemplate,3006002:,302298971:Default
 Administrator View,112:13;,60800:,60801:,302300502:,
 302300507:KBA0003
 ,3006006:,302298981:KBA0003,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 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_KBA00108, but DOCID is still KBA0108. 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

Re: RKM prefixing Article ID

2013-04-17 Thread Downing, Ryan
Hi Peter,

I was looking at an 8.1 version of the RKM code.

I will see if I can find a 7.6.04 SP2 version to look at.

Regards,
Ryan.

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Peter Romain
Sent: Wednesday, April 17, 2013 10:25 AM
To: arslist@ARSLIST.ORG
Subject: Re: RKM prefixing Article ID

**
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,302300539).G()),302300544:(F(windowID,302300544).G()),302301021:(F(windowID,302301021).G()),11:(F(windowID,11).G())],outputField:[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))]);

action 0

ARACTService(4, itsm, RKM:KnowledgeArticleManager, 0,inmap:[302300653:9 
9,302300500:Work In 
Progress,302300539:,302300544:SPR0153,302301021:KM0050560C63F2K65uUQ7_xnAAVkUA,11:-
 Global 
-],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))])


We are on 7.6.04 SP2

Cheers

Peter

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Downing, Ryan
Sent: 17 April 2013 14:52
To: arslist@ARSLIST.ORG
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:SGP0009,302301021:KMGAA5V0GPML4AML448F62BH336WHL,11:-
 Global -,302300654:Calbro 
Services,100058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutionTemplate,3006002:,302298971:Default
 Administrator 
View,112:13;,60800:,60801:,302300502:,302300507:KBA0003,3006006:,302298981:KBA0003,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.ORGmailto: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_KBA00108, 
but DOCID is still KBA0108. 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_
_ARSlist: Where the Answers Are and have been for 20 years_

___
UNSUBSCRIBE or access ARSlist Archives

Re: RKM prefixing Article ID

2013-04-17 Thread Downing, Ryan
Nathan,

Glad to hear you have it figured out :)

Ryan.

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Nathan Brandt
Sent: Wednesday, April 17, 2013 10:52 AM
To: arslist@ARSLIST.ORG
Subject: Re: RKM prefixing Article ID

**
Thanks guys for your reply. Actually I forgot to mention, we are on 7.6.04.
What Ryan mentioned works in 8.*.
But we figured it out for 7.6.04 as well, it is done in RKM Plugin through 
filter API call.

On Wed, Apr 17, 2013 at 7:54 PM, Peter Romain 
p.romain.arsl...@parsolutions.co.ukmailto:p.romain.arsl...@parsolutions.co.uk
 wrote:
**
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,302300539).G()),302300544:(F(windowID,302300544).G()),302301021:(F(windowID,302301021).G()),11:(F(windowID,11).G())],outputField:[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))]);

action 0

ARACTService(4, itsm, RKM:KnowledgeArticleManager, 0,inmap:[302300653:9 
9,302300500:Work In 
Progress,302300539:,302300544:SPR0153,302301021:KM0050560C63F2K65uUQ7_xnAAVkUA,11:-
 Global 
-],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))])


We are on 7.6.04 SP2

Cheers

Peter

From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG] On Behalf Of Downing, 
Ryan
Sent: 17 April 2013 14:52
To: arslist@ARSLIST.ORGmailto:arslist@ARSLIST.ORG
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:SGP0009,302301021:KMGAA5V0GPML4AML448F62BH336WHL,11:-
 Global -,302300654:Calbro 
Services,100058:RKM:KnowledgeArticleManager,302300503:RKM:ProblemSolutionTemplate,3006002:,302298971:Default
 Administrator 
View,112:13;,60800:,60801:,302300502:,302300507:KBA0003,3006006:,302298981:KBA0003,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.ORGmailto: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_KBA00108, 
but DOCID is still KBA0108. 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