KM News Room - Name of Author

Hello All,
I have created a new xml form for the news room. I want to populate the name of the user who creates a news item automatically. i have tried using the variable $sap_user in the caption field of the input box. This successfully returns the user name of the user.
But in our organization, we are using the a company ID as the user name (something like FGJ928). We want to use the name of the person directly in the news. Any idea from where i can fetch this and use it in xml?
Thanks in advance
Mz

In Edit form, remove input field  and label which shows  $SAP_User
In Show form, you must assign created by property to creator field. To do that you must:
Open in your data model Properties->System->chose Created By, drag and drop on creator field.
After that, you do click in creator field and it must have:
In Property Reference: Properties/default:createdby
Don't forget to delete below one.
Schema Reference this value: /DataSchema/News/creator
(must be empty)
Only must setup property reference.
You should do the same in the other form: RendererListItem.
This will definetly work if you follow the steps correctly. Good Luck
Raghu

Similar Messages

  • XML form field choice list to be populated by collaboration room names

    I would like to create a news form used within collaboration rooms where one field should include the name of the room where the news entry is created.
    Preferably this should be done automatically as works for date and author fields ($date, $sap_user), but could also be done manually if there is a way to populate the list with all available room names. If so, how do I get these to show up in the XML forms builder. There is a property 'Room' with sub-property 'Name' in the builder's property menu, but I can't see how to use this to get the room name displayed in the form.
    Henning

    Steve
    Thanks!  After working with the example you sent me, I was able to get it to work -- great!  However, this method seems to overwrite all the other XML in my xfa:data -- not great!
    For example, without the script, I have something like this in my form data variable after a form is completed and submitted:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:07:02Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <root>
    - <performanceReview>
    <badgeNumber>8107</badgeNumber>
    <associateName>NATHAN JANNASCH</associateName>
    <department>Information System</department>
    <section>IS - System Devlopment</section>
    <jobFamily>Professional Staff</jobFamily>
    <GLBadge />
    <groupLeader />
    </performanceReview>
    <FSTARGETURL_ />
    </root>
    </xfa:data>
    However, when I use the script as you described above and in your sample to load the data for the dropdown list, I get this in my form data variable:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:10:17Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <GroupLeaders>
    - <GroupLeader>
    <GLBadge type="varchar">8103</GLBadge>
    <GLName type="nvarchar">AARON MEISTER</GLName>
    </GroupLeader>
    - <GroupLeader>
    <GLBadge type="varchar">5221</GLBadge>
    <GLName type="nvarchar">AB EDMONDS</GLName>
    </GroupLeader>
    </GroupLeaders>
    </xfa:data>
    It looks like the data the script loads is overwriting all of my other xfa:data.  This is quite bad, as my process is dependent upon this data.  Is there a way to append the dropdownlist data to the xfa:data, or perhaps load it into another node, rather than overwriting the existing xfa:data elements?
    Thanks!
    Toby

  • Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17...

    Hi,
    I have a customized SharePoint page that takes user input data, validate some of the data, then writes the data to a SharePoint list. If an exception occurs, it will write the error to the ULS.
    All was working well in the test environments.
    However, recently we noticed that in the QA environment, when it's trying to write to ULS, it causes another issue:
    Insufficient SQL database permissions for user 'Name: NT AUTHORITY\IUSR SID: S-1-5-17 ImpersonationLevel: Impersonation' in database 'SP_F1_Config' on SQL Server instance 'SQL01'. Additional error information from SQL Server is included below. The EXECUTE
    permission was denied on the object 'proc_putObjectTVP', database 'SP_F1_Config', schema 'dbo'.
    I've traced through the code and found that it fails on the line:
        SPDiagnosticsServiceBase.GetLocal<LoggerError>();
    where LoggerError is the logger class inheritng SPDiagnosticsServiceBase
    I have also googled around today, but the most positive solution provided
    on this page was to manually modify SQL object permission, which I believe we should not do, and would not be supported by Microsoft.
    So the questions are:
    Why is AUTHORITY\IUSER used for SPDiagnosticsServiceBase.GetLocal()? Should that account actually be allowed to access SharePoint databases? (This is an intranet environment and using claim based/Windows authentication, no no anonymous access would be allowed
    anyway).
    I've checked the Application Pool account permissions in SQL, comparing the environment that works and the one that doesn't work, and the permissions/roles/schemas look identical on server and database level. Where else can I check?
    On the environment that works, I logged on as SharePoint administrator, created a new SharePoint Visual Web Part solution in Visual Studio, just to test writing to ULS. Then I press F5 in Visual Studio to debug it. It also has the same problem.
    It just seems like somehow the user's identity (or whatever the identity SharePoint required) was not passed to SPDiagnosticsServiceBase.
    Any suggestions, or even better, solutions would be really really much appreciated!

    Hi,
    Thanks for your sharing, it will be userful to the people who stuck with the same issue.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Error with new Room Template (containing KM Navigation iView)

    Hello,
    I created a new room template based on a newly created workset which just contains the KM Navigation iView. As I went through the template wizard step by step (Content Administration > Collaboration Content > Room Template Administration) I didn't add any External Parameters (Step 3) and didn't add any extensions (Step 4). In the Mapping (Step 5) I mapped all internal parameter to "room_id" since I didn't know it any better. Then I created a room based on this template. When I entered the room I got the following error message. Is it possible that the following error has to do with the fact that I mapped all internal parameters to "room_id" and that I did not add any external parameters or any extensions?
    com.sap.portal.pcm.Title   
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.sap.ip.collaboration/Rooms/20dcad45-aaaf-2910-3289-d797c9b4a1ae/workset/km_documents/kmnavigationiview
    Component Name : null
    Page could not create the iView.
    See the details for the exception ID in the log file
    Thanks a ton for our help!
    Katharina

    Hi,
    Maybe you can post this issue in the portal platform forum. This may get you more results.
    Rgds,
    Soujanya

  • [svn:osmf:] 13083: Updated MASTAdapter class with new trait names and events.

    Revision: 13083
    Revision: 13083
    Author:   [email protected]
    Date:     2009-12-17 16:10:05 -0800 (Thu, 17 Dec 2009)
    Log Message:
    Updated MASTAdapter class with new trait names and events.
    Modified Paths:
        osmf/trunk/plugins/MASTPlugin/org/osmf/mast/adapter/MASTAdapter.as
        osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/TestMASTPluginInfo.as
        osmf/trunk/plugins/MASTPluginIntegrationTest/src/org/osmf/test/mast/adapter/TestMASTAdapt er.as

    Silviu!
    I'm really sorry, but as all the office is trying to fix the problem, someone replaced the url content with the stuff that was pointing to the local machine.
    I've fix it, and the video player is available here again: http://pp.player.webtv.flumotion.com/params/apiKey/5PzLR2ULL3z2rumJ/videoId/60
    If there are other references to the localhost, please do not bother with them, as they do not affect player functionality.
    The stream that it uses is an RTMPE, so i'm afraid it will only works with this player. Anyway, the stream url is as follows: rtmpe://87.248.205.81/a4349/e2/veo7/ondemandrtmpe/mp4/med/first-person-mario-4d8741aa.mp4
    I really appreciate your help!
    Thank you!

  • New rooms, permissions, and dev login

    i use the server integration API to create a new room on the fly.  however, that new room requires an initial dev account login before the multiuser features are permitted.  i cannot do this manually through the room console because in my application new rooms are created dynamically when a user creates a new account within my own application.
    i see no way in the server integration API to accomplish this dev login, and creating a SWF that does that dev login automatically to "authorize" the room is totally insecure due to dev credentials existing therein.
    is there any way to permit multiuser features in a newly created room without having to manually log in via the room console?  if not, this is a serious hurdle to creating commercial applications with AFCS.

    thanks nigel, i thought i was doing this already but it appears i wasn't supplying the template name.  much appreciated.
    while trying to figure this out, i was seeing a lot of uncaught exceptions thrown into the flash player .  i've been able to catch most of them with try/catch blocks, but this one remains (see stack trace below) :
    so far i can't find where this uncaught exception is being thrown.  i'm publishing/subscribing to webcams and audio, starting a chat, and listening to UserManager events, but i have try/catch blocks all around those.  any idea where this exception might be thrown?  i just want to catch it and report my own error to the user instead of it happening through the flash player dialog.
    Error: Error - insufficient permissions to create a new CollectionNode. You must be an OWNER of the room to add new multi-user features to it. Log in with developer credentials in order to do so.
    at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::subscribeCollection()[C:\work \main\connect\SDKApp\payload\libs\flashOnly\player10\src\com\adobe\rtc\messaging\manager\M essageManager.as:192]
    at com.adobe.rtc.messaging.manager::MessageManager/flushPendingSubscriptions()[C:\work\main\ connect\SDKApp\payload\libs\flashOnly\player10\src\com\adobe\rtc\messaging\manager\Message Manager.as:794]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.rtc.session::ConnectSession/checkManagerSync()[C:\work\main\connect\SDKApp\payl oad\libs\flashOnly\player10\src\com\adobe\rtc\session\ConnectSession.as:510]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.rtc.sharedManagers::UserManager/userReceivedOrEdited()[C:\work\main\connect\SDK App\payload\libs\flashOnly\player10\src\com\adobe\rtc\sharedManagers\UserManager.as:1082]
    at com.adobe.rtc.sharedManagers::UserManager/onItemReceive()[C:\work\main\connect\SDKApp\pay load\libs\flashOnly\player10\src\com\adobe\rtc\sharedManagers\UserManager.as:934]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[C:\work\main\co nnect\SDKApp\payload\libs\flashOnly\player10\src\com\adobe\rtc\sharedModel\CollectionNode. as:742]
    at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()[C:\work\main\co nnect\SDKApp\payload\libs\flashOnly\player10\src\com\adobe\rtc\messaging\manager\MessageMa nager.as:663]
    at com.adobe.rtc.session.managers::SessionManagerBase/receiveItem()[C:\work\main\connect\SDK App\payload\libs\flashOnly\player10\src\com\adobe\rtc\session\managers\SessionManagerBase. as:331]

  • How to change the Existing alias with new alias name...MAXL SCRIPT

    HI Experts
    I need to change alias name of the existing member with new alias name.
    please send me maxl code to change the alias name .
    My thought is
    1) Old alias should be replaced with new alias name .
    2)There is one account that should be rolled out to another parent..these parents are already exsist
    3) I need a MAXL Script to change the new alias name .
    please suggest ASAP.
    Thanks
    USER

    John
    I heard that we can replace existing alias name with new alias thru MAXL
    i.e replace alias name XXXX member with YYYY ;
    please correct me if iam wrong ,might be Maxl command is wrong but this is the idea.
    Thanks
    USER

  • I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings?

    I had renamed my user login name and assumed that there will be no change in the settings and files. When I login with the new profile name everything is gone. How can I get back all my files and settings? Please help. Thanks.

    You should have asked this before you tried: Changing username or short name- User Account and Short Name- OS X- How to change user account name or home directory name.

  • How to include room name in subscriptions email?

    I would like notifications and subscriptions sent from collaboration rooms to users via email to display the relevant room name that the subscription applies to. By default the emails display the room ID (609a34cc-eed4-2710-5492-987c69634cac) which gives no meaning to the user.
    How?
    Henning

    Hi Henning,
    with NW03 SP13 the mails display the room's path instead of the RoomID.
    As Collaboration Rooms are unknown to the Subscription Service, its not possible for the Subscrption Service to determin a Room's name.
    Also there's currently no way to edit/add the properties used to render the subscription eMail. The only way I can immagine this might work is, parsing the path (given in the Mails XML/XSL) and try to determin the room name out of this information.
    Hope this helps
    Dirk

  • Mac OSX, 10.7.5, LR 5.6  After creating a new folder in the Destination section and importing images, the new folder name appears as 2010, no matter what name I give it.  Why is it doing this?

    Mac OSX, 10.7.5, LR 5.6  After creating a new folder in the Destination section and importing images, the new folder name appears as 2010, no matter what name I give it.  Why is it doing this?

    I am experiencing Mavericks failing to copy subdirectories from usb sticks, I am backing up game saves from a console. Both sticks I use are fine, same permissions of course since the console wrote the files. Sometimes it copies, sometimes it doesn't. It seems to be related to the mounting process.
    Thank God Apple hasn't (yet) broken bash.

  • Addition of New Column name "Qty" in user defined layout for CJR2

    Hi Friends,
    I am going thorugh variurs posts but could not a fetch correct answer. If that was available and missed, sorry about that.
    My requirement is, wanted to have new user defined layout which would be copied from 1-701 (CJR2). The layout should have new column which would be named as "Qty".
    Note that I tried to change name after pulling new fileds from left side to right hand side but these fields are grayed out in change layout.
    What is the work around solution to have new column and tthis wouold be named as "Qty". Let me ask one question is it possible to add new fields name to standard layout like 1-702 other than what it has been delivered by SAP????.
    Looking forward to hear from and thanks for your efforts.
    Regards,
    Sudhakar

    Have you tried MENU > Edit > Columns > Append additional fields?
    I think you can not choose any other characteristics other than SAP has provided which is mentioned in SAP Help.
    Regards,
    Mahendra

  • How can I restore a back up of an old iphone to a new iphone (after I accidentally started a "new" iphone name?

    how can I restore a back up of an old iphone to a new iphone (after I accidentally started a "new" iphone name?

    Unfortunately you do not have direct access to iOS backs in iCloud.
    I am not sure what you mean by:
    It's locked with an enterprise (third party code)
    Do you mean it is a corporate device and managed by Mobile Device Management software?
    If so the IT department can reset the passcode.
    Other than that, there is no third party iOS app that can lock the device at that level unless it is jailbroken and then no one here can help you.

  • I recently installed iTunes on my new HP laptop computer, authorized it according to the instructions, but now can't get past a screen that tells me that I need to authorize the computer.  I purchased an album and it's in the library, but it won't sync.

    I recently installed iTunes on my new HP laptop computer, authorized it according to the instructions, but now can't get past a screen that tells me that I need to authorize the computer.  I purchased an album and it's in the library, but it won't sync.

    Have a look here...
    http://support.apple.com/kb/TS1389

  • I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    I need to reinstall my original factory disc and reset my computer to the beginning. It currently has lion. Do I need to erase my HD first to clear and make new room for the install disc.

    Prepare Your Mac for Sale
    Boot from the OS X Installer Disc One that came with the computer.  After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.  After DU loads select the startup volume from the left side list then click on the Erase tab.  Set the format type to Mac OS Extended (Journaled) then click on the Options button.  Select the one pass Zero Data option and click on the OK button.  Then click on the Erase button.
    Note: You can skip the Zero Data option if you are not concerned about removing sensitive personal data from the hard drive.  If you choose to skip this part of the process then it is possible for others to recover data from the hard drive.  The Zero Data procedure will prevent others from getting access to your personal information.
    This process will take 30 minutes to several hours depending upon the size of the hard drive.  After formatting has completed quit DU and return to the installer.  Now complete the OS X installation.  At the completion of the installation do not restart the computer.  Instead just shut it off.  The next user will be presented with the Setup Assistant when they turn on the computer just as it would if new out of the box.

  • HT3231 I ended up having to create a new user name because the migration assistant wouldn't let me put the data back onto my original user name.  I now have to log into the new user name to see all my data, apps, photographs etc. What went wrong?

    I have a Mac that was part of the recall involved with the faulty Seagate hard drives.  The folks at the Apple Store near me changed the hard drive early December, 2012. I had my data, etc. all backed up on a portable hard drive.  When the Mac was returned with the new hard drive, I used the Migration Assistant to bring everything back over. Trouble was, it wouldn't let me bring it over to my original user name.  I was forced to create a new user name that became the place where everything was restored.  I can't see any data on my old user name, just the basics.  Everything is on the new user name but I wish I didn't have it (just want everything back the way it was originally).  Any suggestions?

    Probably the cleanest thing to do is to erase and freshly install the operating system on the new drive. Then, on the first boot up, don't create a new user, instead select the option in Setup Assistant to immediately bring things over from your backup, which you must connect via USB or firewire. Setup Assistant will then recretae your old user to look just like it used to.
    Before doing this, make sure you realize you will lose everything on the new drive by erasing it, and make sure your backup is still viable.

Maybe you are looking for