Hi,
I created a FormControl that when user logged into site it automatically get theyre FullName and UserID.
It stored the userId and then in transformation I use custom function to get thetre FullName.
I would really like to use NodeOwner adn one form submit save NodeOwnerID insted of UserId.
two issues:
1. how can I save nodeOwnerId throw code in formControl.
2. when in cmsdesk (admin approving document) I cant seem to get nodeOwner throw api, alwys come back null. code im using:
CMS.TreeEngine.TreeProvider tp = new CMS.TreeEngine.TreeProvider(CMS.CMSHelper.CMSContext.CurrentUser);
CMS.TreeEngine.TreeNode node = tp.SelectSingleNode(CMS.CMSHelper.CMSContext.CurrentDocument.NodeID);
curUsrFullName.Text = CMS.SiteProvider.UserInfoProvider.GetUserInfo(node.NodeOwner).FullName;
summary: Functionality I want is-> formControl should store value of DocumentOwner.btw, what is differnce between documentOwner and NodeOwner?
THANKS :)