Use PSI to add the LocalCustomField Text1 to Project

Hello.
Iam using the PSI to read and update local CustomFields like Text1, Text2, Flag1, ...
For example I found Text1 by using the GUID 00039b7-8bbe-4ceb-82c4-fa8c0b400033
Everything works fine but Iam not able to add these fields to new Projects. I always get the error: CustomFieldInvalidUid
So I can read and update Text1 but Iam not able to add this field to new Projects.
Isn't it possible with PSI?
Thanks for your help and best regards,
Timo

Hello,
I would say this is not possible using the PSI as you will need to create that local custom field in the other project which requires Project client. I would recommend using Enterprise Custom fields if you want to use these across projects.
See the remarks here:
http://msdn.microsoft.com/en-US/library/office/microsoft.office.project.server.library.customfield_di_pj14mref
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS

Similar Messages

  • Unable to add the Listener class in project .

    Hi friends ,
    I'm using deploytool of Sun's AppServer 8.2.
    I'm not abel to add the Eventlistener class in the project.
    In the Help Menu the given following discription to Add the Event Listener call
    Web Application WAR File -> Event Listeners tabbed pane
         1. Click Add to add an event listener to the Event Listener Classes list.
         Locate any event listener classes contained in this WAR file in the drop-down list in the Event Listener Classes      pane.
         (note:There is no any drop-down list in in the Event Listener Classes pane.)
    2. If the event listener class is not in the list, in the General tab, click Edit and to go to the Edit Contents      dialog box where the event listener class can be added to the contents of the WAR file. Upon return the event      listener class will be in the pull-down list.
              (note:But the listener class is present in General tab ,WEB-INF->classes->listeners(In the Contents of the           General tab.))
    How could i resolved this , i mean how to add Event Listener Classes in project ?
    (Same problem while adding error page and filter classes which are also present in the General tab)
    Regards,
    Sachin Warang.

    I suggest using NetBeans IDE 5.5, which integrates easily with various appservers, including Sun Java System Application Server.
    -cheng

  • I had a problem with slowness so I used "reset". The popup ran forever so I stopped it. Now I can't remove or add the program.

    I had a problem with slowness so I used "reset". The popup ran forever so I stopped it. Now I can't use, remove, or add the program. How do I proceed?
    TIA,
    BWSwede

    You can paste that path in the command line in the Windows Explorer file manager.

  • How do I add the same description to multiple photos in the new photos app

    How do I add the same description to multiple photos? I could do this in iPhoto but I do not see a way to do it in Photos for OS X. This is a handy feature to have.

    This link asks the same question,  https://discussions.apple.com/thread/6994338?searchText=How%20do%20I%20add%20a%2 0description%20to%20multiple%20photos?
    Someone shows the method to use AppleScript/ Automator to make Photos add the same description to multiple photos. I just opened up AppleScript editor and poked around the Dictionary for Photos and saw we have access to GPS longitude,latitude and altitude. So by using a third party app/web page to get those values, an Apple Script could be used to batch add the info to selected photos. That being said, I'm really busy these days and lack time to write scripts and migrate to photos.

  • Airport setup asst. doesnt work.  Is there way to use Windows to add airpor

    Airport setup asst. doesnt work. Is there way to use Windows to add airport express to my current linksys network so that my iTunes will play through my stereo?
    Previously the air-assit recognized the air-exp unit but kept asking for a password to continue. I tried passwords like admin and public but nothing worked. Then Windows network connections kept trying to connect my laptop to the internet using the air-exp. Don't remember what I did to fix that problem but now my laptop doesn't try using it to connect me to internet anymore.
    However, now air-asst. doesn't read the air-exp anymore. Windows network connections DOES read it now but doesn't try to use it anymore to connect me to the internet.
    I have a linksys WAP and separate linksys router. If memory serves, when I firt got the air-exp about 6 months ago I could not connect either and Apple tech support had to help me. I think, but not sure, they had me use Windows to add the air-exp to my wireless network. Also if my memory serves me, but not sure, I had to type in either some IP or MAC addresses in order to get the air-exp to connect to my existing network. I DO remember thinking after it was finally working that "Wow, this is definately NOT a plug and play thing." It wasn't very easy to set up.
    I lost my laptops wireless connection last week and couldn't connect to my network and had to call linksys tech support. They had me input a new IP and DNS address because somehow my laptop "lost" the previous ones. Since then I have not been able to use my air-exp to connect to my stereo.
    I have called Apple tech support but since my 90 days is up they want to charge me $49.95 for up to five days worth of tech support. Which I think is a rip off becau linksys will help you out at anytime for fee but that's a topic for another discussion group. Common Apple, how about a $10 charge for one day of tech support, or even just 15 minutes worth to get my gear working again?
    Anyway, if anyone knows of any on-line walkthroughs of how to deal with these airport express set-ups or problems please let me know. Or, of course if anyone can walk me through this that would be even better. THANKS

    Thank you for your help.
    When I run air-util a window called base station chooser comes up and all the fields are blank. When I push "re-scan" nothing happens. When I push "other" a window pops up asking for IP address and password. I typed in the IP address given to me from Linksys tech and tried to move on but it came back asking me to fill in the password. I tried the default linksys password "admin" but it came back with an error.
    Do I hard (factory) reset the air-express by simply pushing the reset button or do I have to hold it in while I plug it in or simply push the button for a certain length of time?
    Thanks again.

  • Add field to a team project

    Hi everybody, 
    Is there a way to add fields for teamprojects ?
    I want to add a custom field for each teamprojects of my collection and set an ID.
    This ID is unique and is used for other applications, so I would like query it by code.
    Thanks

    Hi Mathieu, 
    Thanks for your post.
    First, you needn’t add the ID in team project. Each team project’s name is unique in collection, and each team project has its own ID. So you can query the team project using its name in code, please refer to below code snippet:
    TfsTeamProjectCollection tfs =
    new
    TfsTeamProjectCollection(new
    Uri("collectionURL"));
    tfs.EnsureAuthenticated();
    WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
    //get team project using team project name
    Project teamproject = workitemstore.Projects["teamprojectname"];
    Console.WriteLine(teamproject.Id);
    //query team projects in collection 
    var teamprojects = workitemstore.Projects;
    foreach(Project
    tp in teamprojects)
    Console.WriteLine("Team
    Project name: {0}, Team Project ID: {1}", tp.Name, tp.Id);
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using Javascript & Actions to resize an image and add the filename as text

    Hello,
    I am currently working on a way to take an image, resize it and add exactly what is in it's file name (before extension) as a text layer. I have succeded in this BUT am having issues with file names that require more than one line of text.
    I need the text to align to the bottom of the image & the script or action must then resize the image so that the text does not overlap.
    Any ideas on how this can be done?
    At the moment I am using:
    -"Fit Image.jsx" to resize my image to a specific size (This was included in the Photoshop CS5 scripts)
    - A script to add the file name without extension and place the file name at a specific position.
    AdFileName.jsx
    if ( documents.length > 0 )
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    try
      var docRef = activeDocument;
      // Now create a text layer at the front
      var myLayerRef = docRef.artLayers.add();
      myLayerRef.kind = LayerKind.TEXT;
      myLayerRef.name = "Filename";
      var myTextRef = myLayerRef.textItem;
      // strip the extension off
      var fileNameNoExtension = docRef.name;
      fileNameNoExtension = fileNameNoExtension.split( "." );
      if ( fileNameNoExtension.length > 1 ) {
       fileNameNoExtension.length--;
      fileNameNoExtension = fileNameNoExtension.join(".");
      myTextRef.contents = fileNameNoExtension;
      // off set the text to be in the middle
      myTextRef.position = new Array( docRef.width / 2, docRef.height / 2 );
      myTextRef.size = 12;
            myTextRef.font="Arial-BoldMT"
            //set position of text
            myTextRef.justification = Justification.CENTER;
            myTextRef.kind = TextType.PARAGRAPHTEXT;
            myTextRef.width= docRef.width;
            myTextRef.height= docRef.height/ 2;
            myTextRef.position= [0, docRef.height * 0.88];
    catch( e )
      // An error occurred. Restore ruler units, then propagate the error back
      // to the user
      preferences.rulerUnits = originalRulerUnits;
      throw e;
    // Everything went Ok. Restore ruler units
    preferences.rulerUnits = originalRulerUnits;
    else
    alert( "You must have a document open to add the filename!" );
    Can the position be changed to allow more rows of text but keep it aligned with the bottom of the layer?
    How can I script in a way to make the image resize based on the amount of text lines?
    Any help would be greatly appreciated.

    You can add a text layer any where the only thing you need to worry about is the size of the font you use.  You can normally calculate a font size by saving the images resoltuion and then setting its resolution to 72 DPI calculate a font size basied of the images pixel width and the number of characters you want in a line. After adding the text layer you can restore the image to its original resolution and align the text layer by making a selection and alignint the text layer to the selection.  There are nine posibilites like the positions in the selection you can align to like a tick tack toe board. You need to use a script to add the text layer because your retrieving the filename.  The positioning of the text layer could be done easily in an action the would use the scriot to add a text layer the do a select all  the align the added text layer to the selection.
    About your script don't make text paragraph just add new line characters to make a multi line text layer So it can be positioned easily
    I do just that with my stampexif action.  The action uses my stampexif Photoshop java script to add a multi line text layer containing some formatted EXIF data then the action centers the text layer and add a layer style to it. Link http://www.mouseprints.net/old/dpr/StampExif.jsx Example

  • My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If I try to add the email address that I now use (and which is my Apple ID on the computer), it won't allow me to add it.

    My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If (while on the iPad) I go to My Apple ID and try to change or add the email address that I now use (and which already is my Apple ID on the computer), it won't allow me to add it. It says : "Email address is already verified for another Apple ID"  I haven't really been aware of this as a problem until I tried (for the first time) to sync my iPad to the computer and became aware that certain things wouldn't transfer. What is the solution to this?

    What are you having problems with ?
    This post was about having updated the primary email address on an iTunes account via a computer - if you do that you might need to log out of the account on an iPad by tapping on the id in Settings > iTunes & App Store and then log back in with the updated version of the account for that email address change to be recognised on your iPad. If you don't log out and back in then an iPad (or iPhone or iPod Touch) might continue to show the old version of the iTunes account id.

  • HT1473 Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option wha

    Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option what am i doing wrong?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • In past versions of ff I have used Tab Renamizer add-on to allow me to rename the main tab in each profile. Does anyone know of any firefox add-ons that have a similar features to Tab Renamizer?

    I run several firefox profiles at the same time. In the past I have used Tab Renamizer to label the main tab in each profile. I like this because then I can tell them a part from the drop-down list in win 7 when switching between profiles. The new version of firefox is not supported by this add-on. Does anyone know of any firefox add-ons that have a similar feature?
    Using firefox 7.0.1

    core-el, i don't see the advantage of that or i can't figure out how i'm supposed to use it. for starters, i have to click the mouse in order to get "add bookmark here" to open, which is no different than clicking on the star in the location bar, or right-clicking on the page. there are also options in the bookmarks toolbar, but they all require clicking the mouse & holding down the right button, etc.
    my goal is to use keystrokes only. typing on the keyboard, using both hands, using the space bar & my left pinky finger to tab over are all painless routines for me. as soon as i have to take my fingers off the keyboard & use the mouse, the pain begins.
    as i said, in older versions of firefox, all i had to do to bookmark a page was click ctrl>d, then tab over & arrow down, when appropriate, to find the folder & add the bookmark. for me, as a touch-typist whose speed is between 60 & 80 wpm, this is lightning fast.
    if i have this wrong, please correct me. i just see it as more mouse clicks that don't save me time or pain.

  • Add jar files and use those classes at the runtime

    Hi All,
    I need to add some jar files at the runtime depends on which the user selects where the jar file is located and i need to import those classes in other class for some functionalities . I could add jar files by using the URLClassLoader and Class.forName("myjar.myclassname") is also succeeded and i have no clue how to use those classes with in the jar file as i couldn't import those classes also in the source because the jar files are being added at the runtime(This leads to class not found exception at the compile time).
    I had found a complicated way of using those classes after being added at the run time as below.
       Class clazz = Class.forName(myClass);
                final Method method = clazz.getDeclaredMethod(requiredMethod, new Class[]{URL.class});
                final Object returned = method.invoke(clazz.newInstance(), new Object[]{request}); but, its really pain to use in this way in all the places.
    Does any of you have simpler suggestions on how to achieve this?
    Thanks,
    Venky.

    Thanks jschell. Yes, you are right. I had found that using reflection API is the only way to load classes at the run time. But according to our application using reflection makes the application little complex, so while start of the application or during other modifications, i am overwriting my jar file to the latest one using FileChannel class as below
          FileChannel ic = new FileInputStream("new.jar").getChannel();
          FileChannel oc = new FileOutputStream("old.jar").getChannel();
          ic.transferTo(0, ic.size(), oc);
          ic.close();
          oc.close();After this code is executed, our application totally uses the new jar file.It is little fast than using reflection. Is this a good idea?

  • I'm unable to add the email address for iMessage, that I was using before iOS 7 to my iPhone, because it says that it is "in use by another device," but I have no other devices.  How do I resolve this so I can add this email address to my iPhone?

    I'm unable to add the email address for iMessage, that I was using before iOS 7 to my iPhone, because it says that it is "in use by another device," but I have no other devices.  How do I resolve this so I can add this email address to my iPhone to send and recieve iMessages?

    Sync your iPhone to iTunes, and see if that does the trick.  Also you could try a Soft Reset with no Risk to Data.  Holding down both the Sleep button and the Home button until the Apple logo appears and then waiting for the Reset to bring you iPhone back to the lock screen.    Are you trying to add the email at Settings>Messages>Send and Receive from (2 Addresses) your iPhone number and your email address?

  • I need to use a Driver Version 1.4 for my my Sharp printer.  When I add the printer, it is driver version 1.3?

    I need to use Driver Version 1.4 for my Sharp printer.  When I add the printer it says Version 1.3?

    Have you asked Sharp whether they have a driver that is Mavericks compliant?

  • How to add the current user to a people picker using javascript coding in document library

    Hi Everyone,
    This is my scenario,
    I have a document library,for this if any user uploads a document,there we have three content types(Ex:content1,content2,content3)
    if the uploaded user is from content 1(here we have four columns name,assigned to ,status,published to) after uploading the document the document has to be updated.so when the document is updated by the user then automatically the published filed people
    picker has to be filled up with the current user name this is done by using java script object model programming.
    i am stuck with this can anyone help me..............
    thanks in advance
    Ramu

    Hi,
    I understand that you want to set a people picker field value automatically to current user. You can use these ECMA scripts on your EditForm.aspx page. Edit the page in SharePoint designer and add the code before a </asp:Content> tag.
     <script type="text/javascript">
    var context = null;
     var web = null;
     var currentUser = null;
    ExecuteOrDelayUntilScriptLoaded(GetUserLoginName, "sp.js");
    function GetUserLoginName() {
    context = new SP.ClientContext.get_current();
     web = context.get_web();
     this._currentUser = web.get_currentUser();
     context.load(this._currentUser);
     context.executeQueryAsync(Function.createDelegate(this, this.onSuccessMethod),
    Function.createDelegate(this, this.onFailureMethod));
     function onSuccessMethod(sender, args) {
     var today = new Date();
     alert('Name:' + this._currentUser.get_title() + '\n Login:' + this._currentUser.get_loginName()); document.getElementById('ctl00_m_g_9b4b3950_80d8_4e6e_b2fa_241b727d83d4_ctl00_ctl02_ctl00_ctl02_ctl00_ctl00_ctl04_ctl00_ctl00_ctl04_ctl00_ctl00_UserField_upLevelDiv').innerHTML=this._currentUser.get_title();//you
    need to change the ID here to you people picker field ID. You can get the id for this field with the help of IE developer tool.
     function onFaiureMethod(sender, args) {
     alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
     </script>
    For more information, please refer to this site:
    Get current user’s LoginName Ecmascript Sharepoint 2010:
    http://www.learningsharepoint.com/2011/05/18/get-current-users-loginname-ecmascript-sharepoint-2010/
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • How to consume the Calendar Exception details from Project Server 2013 to an SSRS report using PSI ?

    Hello,
    Can anyone guide me how to access the calendar exception details from Project Server using PSI?
    I need to extract calendar details of enterprise resources , like exception name, exception type, exception start date and exception end date into my SSRS report hosted in SharePoint 2013 and 2010.
    I would be helpful if I can get a sample of this. I have read through many PSI documents in fact still going through ,what  PSI does and doesn't ,  PSI methods etc. from Project Server SDK and MSDN . Moreover, I
    am a beginner in .NET programming. I am confused and have lots of questions in my mind, like which PSI service should be used in my report(is it  just Calendar.svc), can we pull the details as XML type data source my SSRS report ,are
    there any other configuration settings apart from " setting up an event handler by installing an event handler assembly on each Project Server computer in the SharePoint farm, and then configuring the event handler
    for the Project Web App instance by using the Project Server Settings page in the General Application Settings of SharePoint Central Administration" (as per prerequisites for PSI in SDK) , how can I implement authentication settings
    -(when user with proper SharePoint permission
    can accesses the SSRS report  )
    Kindly bear with me if my questions are not appropriate .
    Please do guide me, and .
    Thanks in Advance!!
    Mridhula
    Mridhula.S

    Hi Brendan,
    Project server reporting database doesn't contain the calendar info. The only supported way to use the PSI to read the calendar info from Published database.
    See this
    reply from Amit.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for

  • Who carries around a Mac mini?

    My question is more a complaint than a question. I'm really disappointed with the new Mac Mini because of the lacking DVD drive! Not that I couldn't see that this may be the future. I am a proud MacBook Air owner since generation 1! I always liked th

  • Can I connect iPhone with PC withouten any problem?

    Is connection with USB cable of my iPhone 4s with my PC & Windows NT possible without any problem or do I have to install a programm on my PC

  • InDesign PDF type distortion

    I am creating PDFs to be sent by email and to be viewed online. I am using the [smallest file size] setting. I am not using any transparency in the files. The type is distorting/corrupting in some places. In places the type displays crisp and clean a

  • In iphotos, can you change photos to another event?

    In iphotos, can you move photos to another event? I have a birthday party and a grandchild at the same weekend, and the photos as all mixed up.

  • Entertainment Center - playing from 'artist' opt

    Does anyone know if there's a way to make Entertainment Center play tracks by one artist in order of album tracks rather than track number when playing mp3s stored on the hard disk? For example - I have 3 albums by Cymande, rather than play tracks -9