Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
nrcustom30description
kaumil
Hi All,
I am trying to populate the nrDescription for a document in desksite 6.06.. with the nrCustom30Description.
so on a NewProfileDlg_OnChange event i am trying to set the
dlg.SetAttributeValueByID nrDescription, dlg.GetAttributeByID(73),True
All i get is blank as i can see that custom30 table seems to have a composite primary key being custom30 & custom29_alias...dont remeber the column names correctly i think...
All the other values have been selected by the user such as C1,C29,C30 and thats when i want to populate the nrDescription with nrCustom30Description
so to retrive nrCustom30Description from the dlg object ?? what else should i be doing ??
thanks inadvance,
kaumil
Find more posts tagged with
Comments
jny
I think this should do it:
[newprof.nrs]
==================
Option Explicit
'AttributeID Enum
Const nrDescription = 3
Const nrCustom30 = 54
Const nrCustom30Description = 73
Sub NewProfileDlg_OnChange(dlg, id)
if id=nrCustom30 then
'Get Custom30 Description
dlg.SetAttributeValueByID nrDescription, dlg.GetAttributeTextByID(nrCustom30Description), true
end if
End Sub
==================
kaumil
Hi Jny,
That did the trick !! thanks a heap...
didn't know about GetAttributeTextByID..
cheers,
kaumil