Getting a null when trying to access DateTime fields (that I've added) from my work item

I'm getting a null when trying to access (custom) DateTime fields from my work item.
I've got a customized work item with 'extra' string and datetime fields.
<FieldDefinition name="Design Version" refname="XXX.DesignVersion" type="String" reportable="dimension" />
<FieldDefinition name="Date Closed" refname="XXX.DateClosed" type="DateTime" reportable="dimension" />
This code fails:
WorkItem workItem = workItemStore.GetWorkItem(workItemId);
var tt1 = workItem["XXX.DesignVersion"];//works
var tt3 = workItem["XXX.DateClosed"]; //tt3 == null, fails also for html fields
Any idea what's up? thanks

Hi TimB,  
Thanks for your post.
What’s the version of your TFS?
If you open this work item in VS, there’s no date value in your Date Closed field? Please try below code snippet:
if (wr.Fields["XXX.DateClosed"].Value
== null)
Console.WriteLine(wr.Fields["XXX.DateClosed"].Value);
else
Console.WriteLine(wr.Fields["XXX.DateClosed"].Value);
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.

Similar Messages

  • Getting error (-1202) when trying to access my wishlist

      getting error (-1202) when trying to access my wishlist   

    this may help from another thread
    byzon2
    This solved my questionRe: iTunes Error (-1202)
    Dec 28, 2012 6:35 PM (in response to crossi85)
    I am having the same issue on my iMac.  It occurred after the last iTunes update.  Apple support offered no real solution.  They tried "clearing" my Wish List, but that didn't work, and advised me to re-install iTunes.  However, I tried clicking the "My Wish List" link on the right side of the iTunes Home page, instead of the one I usually use under the "Manage" column near the bottom of the screen - and it worked!  Furthermore, my Wish List was still intact even though they had supposedly cleared it.  So, in my case, the problem appears to be the iTunes site, and not my computer.  My solution: Try accessing the Wish List from a different link within iTunes.

  • Is anyone getting this message when trying to access Yahoo Email?  "Cannot Get Mail, The connection to the server failed?"

    Is anyone getting this message when trying to access Yahoo Email?  "Cannot Get Mail, The connection to the server failed?"

    I have Yahoo mail (POP) account.  Mine is working fine at present.  I do occasionally get asked for password while sending mail.  I have had your issue in the past and it usually clears up in a few hours.  Sometimes I sign out and then back in and it starts working again.

  • TS1424 Why am I getting error 11222 when trying to access the store?

    Why am I getting error 11222 when trying to access the store?

    The 11222s can sometimes be associated with LSP issues.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Getting a prompt when trying to access App store sating that I cannot connect to itunes store.

    Getting a prompt when trying to access App store sating that I cannot connect to itunes store.

    Try the help here >  Can't connect to the iTunes Store

  • Has anyone gotten a message when trying to access their itunes that says this version of Itunes has not been correctly localized for this language. Please run the English version.

    Has anyone gotten a message when trying to access their itunes that says this version of Itunes has not been correctly localized for this language. Please run the English version

    Hello didomeda
    Check out the troubleshooting steps in the first article. If it is not resolved, then try and remove iTunes and its related software in the right order and then reinstall.
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    http://support.apple.com/kb/HT1923
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • I keep getting 'error lander' when trying to access any website

    I isolated and deleted a trojan horse virus, but ever since then, when trying to access any website, the tab shows 'error lander' and goes no further. I partitioned my hard drive years ago and can access Firefox/Mozilla on the second partition, but cannot do so on my primary partition, which is where all my data is stored. Help!

    Do a clean (re)install:
    * Download a fresh Firefox copy from http://www.mozilla.com/firefox/all.html and save the file to the desktop.
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data when uninstalling.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    See:
    * http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall
    You may need to create a new profile.
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    * http://kb.mozillazine.org/Profile_backup and [[Backing up your information]]

  • Getting this message when trying to access our cameras, how to fix? This address is restricted This address uses a network port which is normally...

    Just installed Firefox for my boss, and ran into something I've not seen before. When trying to access our private camera system, that uses specific ports, I got this message: "This address is restricted - This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection."
    Cannot find a setting in Firefox to correct this problem. Please help.

    Hello,
    Can you please check if either of these links help in the resolution of the issue
    # [http://kb.mozillazine.org/Network.security.ports.banned.override Firefox ports override]
    #[http://blog.christoffer.me/post/2012-02-20-how-to-remove-firefoxs-this-address-is-restricted/ Remove Firefox this address is restricted error]
    Thank you

  • Getting error message when trying to access video on my iPad

    Hi this is my first time on this site so bear with me if I do the wrong thing.
    Here goes  I have read through some of the answers to the question but mostly they seem to related to YouTube.  My question relates to my iPad.  I get an error message when trying to view a video which I synced from my macbook pro.  The message reads "You do not have permission to access the requested resource"  The question is how do I get permission. Has anyone got an answer would be much appreciated.

    Hi this is my first time on this site so bear with me if I do the wrong thing.
    Here goes  I have read through some of the answers to the question but mostly they seem to related to YouTube.  My question relates to my iPad.  I get an error message when trying to view a video which I synced from my macbook pro.  The message reads "You do not have permission to access the requested resource"  The question is how do I get permission. Has anyone got an answer would be much appreciated.

  • I get "HTTP Error 400. The request is badly formed." when trying to access a URL that I have accessed previously in the day and works OK with IE.

    Hi
    I accessed the site earlier in the day but when I came back to it I got the above message. Tried to access the site in IE and all worked fine. Tried disabling DNS prefetch and clearing out history but to no avail. I ran a virus scan but with no threat detected.

    That issue can be caused by corrupted cookies.
    *http://kb.mozillazine.org/Cookies
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"

  • Getting an error when tried to access task form from worklist app

    Hi All,
    I am using 10.1.3.4 BPEL PM. I have created a bpel process with a human task.
    From the worklist application, when the approver clicks on: Task Id (ideally it should open task form).
    In my case, I am getting an error:
    Error while inoking URL to display the content. Error while invoking URL. http://bluejays.appsassociates.com:7780/default/EditPayloadPOC1/v2009_05_21__82618/EditPayloadPOC1/EditPayloadPOC1.jsp Check the underlying exception and correct the error. Contact oracle support if error is not fixable..
    If you need more information, please check with your administrator with the following exception-identifier: "2009/05/21_12:16:43:777_oc4jadmin"
    It works fine in SOA suite 10.1.3.1. and does not work in BPEL PM 10.1.3.4
    The only difference is I deployed in 10.1.3.1 using Ant script of bpel project and in 10.1.3.4 I deployed using the BPEL Console itself by browsing the project jar(Since I am getting error when tried to deploy it using Ant).
    Is it a known bug or am I making anything wrong. Tried with both Autogeneration and Custom form
    I followed: http://download.oracle.com/docs/cd/E11036_01/integrate.1013/b28981/workflow.htm#BABCBAEI
    Thanks
    Sakrishna Panuganti

    Hi does your bpel process has more than one human tasks, e.g., HumanTask1, HumanTask2, HumanTask3...then pl. check and manually fix this below ...e.g.,
    check for all of the human tasks workflow contexts tasks forms for dynamic pointers for
    domain_id, process_id, process_version.
    edit public_html/HumanTask1/form/ear/META-INF/application.xml
    <web-uri>workflowform.war</web-uri>
    <conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask1</context-root>
    edit public_html/HumanTask2/form/ear/META-INF/application.xml
    <web-uri>workflowform.war</web-uri>
    <conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask2</context-root>
    edit vi public_html/HumanTask3/form/ear/META-INF/application.xml
    <web-uri>workflowform.war</web-uri>
    <conteit-root>/${domain_id}/${process_id}/${process_revision}/HumanTask3</context-root>
    and deploy the process again via jdeveloper or preferably via ant script and try, it worked just fine for us.

  • Bought the Adobe export package and tried to export a PDF to Excel and I can only get "error occured when trying to access the service"

    Cannot get any exports to work on PDF's after I bought the membership? Any help?

    Hi Dylan,
    Are you trying to access the service from Acrobat Reader?
    Try using the link: https://cloud.acrobat.com/exportpdf sign in with your Adobe ID and try to convert a pdf to doc and check if that works for you.
    Regards,
    Rave

  • Trying to access my mobileme account (my email) but I keep getting a message when trying to access my email account:  user name or password is incorrect.  Help!

    Trying to access an old email account through mobileme.com
    everytime I try to check my mobileme email a message box pops-up:
    User name or password is incorrect.
    What can I do?  I currently have 2 email addresses hooked up to me.com

    MobileMe is closed (as was announced over a year ago). You need to migrate your account to iCloud while you still can - go to http://me.com and follow the link to migrate. You should do this as soon as possible.
    Then sign in in System Preferences>iCloud (Lion required) and enable Mail in the checklist there.

  • Getting Error Message When Trying to Access iTunes Music

    Hi!
    Need some help.
    Little Mac Mini has been through a lot after foobaring after the last update. To bring you up to speed, I had to get Apple Genius Bar to fix the problem but they re-installed the OS by installing 10.4.7, Safari 2.0.4 and iTunes 7.0.x even though it had had 10.4.11, Safari 3.0.4 and iTunes 7.5 on it before the problem. Even when it was offline with Safari and mail crashing, iTunes worked fine. After Apple's re-installing 10.4.7, iTunes had problems and gave me a message that it could not play the video files because the quicktime version was too old. So Quicktime too was re-installed using an older version. Why did Apple Genius Bar fellow do this?
    Anyway... after this I found an underlying problem with the directory and had to restart with Tiger install disc and run Repair Disk to fix it. Then I got the computer back up to 10.4.11, Safari 3.0.4 and iTunes 7.5 using Apple's combo update and Software update. Repaired permissions and verified disk, everything.
    So here is the problem, I can not get iTunes to access my music on the external hard drive anymore. I remember getting a message that suggested that something happened to the xml file.
    Here's the thing: I have two complete copies of the iTunes music on two external hard drives. I also have, in addition to these, a complete copy of the iTunes Music backed up using the Apple program "Back-Up." Usually, I keep iTunes pointing to the music folder on one of the external hard drives, but now, it insists on opening up the iTunes music on the internal which has very little music on it. I know how to open the other music libraries by holding down the option key and starting iTunes and choosing a library. In the past when I did this I got iTunes up with all of my music, etc. fine. I used to be able to access the music library on one external and then switch to the other library by holding the down the option key while starting iTunes. But now, I get a message that says "An iTunes Library file could not be found in the folder 'iTunes Music.' Please change to another" irregardless of which library I choose. What does this message mean? How do I get iTunes to access the music in these libraries again?
    I know that the music libraries are all fine on the externals, because I have gone and found them. All is okay with that, but I can't get iTunes to see them. Could this be because the xml file is missing? I can't seem to find it anywhere. Not in the main hard drive or on any of the externals. If it is missing and I need it, where can I get it and where, exactly do I put it. I am a bit sketchy on my understanding of the file hierarchy as you can tell.
    I do have back-up. Would a restore fix the problem. My little mac only has about 6 gigs left in it's internal so there is not enough room to put the music back into the internal iTunes that it is currently working from. Can I restore the back up version on to one of the externals? I don't know really what to do.
    What am I missing? Thank you so much!- Charlotte

    Well... no response.?
    Anyway.... solved my own problem. Apple should hire me.
    Actually read another post and got an idea. Held down the option key while starting iTunes. Got the window that asks if I want to create a new library or to choose a library. I had been choosing and finding that my libraries on the two external hard drives were damaged. Yes... I think it was because the iTunes Library files and the iTunes Library xml files were missing. So instead of choosing library, I chose to create a new library. Of course it brought up iTunes with nothing in it. I opened the folder "iTunes" on that same external hard drive and boldly clicked and dragged it on to the empty Music section of iTunes. It imported! First importing everything. Music, podcasts, video, audio books, etc. and then imported album art and then boom, it was all there. With trepidation, I closed iTunes and reopened it and yes, all is there still... like in.... it works! It plays! I've been listening to music while typing this.
    Of course, the playlists and play counts, ratings are gone. Yes... I expected that, but I have all of the media and that is what is important. Even the things I downloaded just before the problem happened is in there. Okay... well that's good.
    Hey.... what ever you do, keep back ups and copies, like several and in several formats and all over the place. For instance, most of my music is backed-up in five places. On a cd, also on a dvd, and also in three places on two different external hard drives!
    Okay.. for the weird thing and it's only weird to me because I obviously do not completely understand the file system in the mac. It's this: Before I created this new library, when I went to the external hard drive I found the folder labeled "iTunes" and no other folders. The iTunes folder only contained the media content and I could not find the library or library xml files. Now after importing that one iTunes folder into the newly created library and allowing it to get everything into it, going to the external hard drive I had expected to see a new folder with a new copy of all of the music content in it but instead I found a new folder labeled " iTunes1" and opening it, I found the library and library xml files. Ah.... so if I am understanding this correctly, what "creating a new library" did was to add in new the library and library xml files that were missing, but it still accessed the "iTunes" folder with all of the content that was already there. So... in essence fixing the problem. Yes... this would be correct because the external has the same amount of gigs used as it had before I created the new library. This is way cool! And no, I did not mess anything up, my computer's internal hasn't enough space for the iTunes music content and it's showing the same amount of space used so it's not like it moved the stuff into the internal. It couldn't do that, anyway.
    I shall thank the guys on the other post for their help. Hope this helps others.
    By the way... this whole problem happened originally because apparently my hard disk had errors in the directory and the downloading of the last security update (security update 2007-009) was just too much for it.
    Look before updating always check by going to Utilities and performing a "permissions repair" and also running "Verify disk," even if you see that your S.M.A.R.T. disk shows "verified." If verify disk shows any errors or problems then perform a disk repair. Do this before any update or installation or you may run into serious trouble. To do this get out your OS install disk. Use the Tiger one if your computer is currently running Tiger. Leopard one if it's using Leopard. Put the disk in and re-start your computer. As soon as it is off and before it even begins to start up, hold down the C key on the keyboard and keep holding it down until you get the message asking what language you want. Don't panic, this is correct. It will look like it wants to install the OS again. Don't re-install the OS. But you can choose the language. Here I was panicking and I don't want you to. At the top you will see the installer bar. Go to Disk Utility up on that bar and click on that, it will take you to Disk Utility and you will then and only then be able to perform a disk repair by clicking on "Repair Disk." Do it! Do it a couple of times until the thing reports that the disk has no problems. I forgot how it states this but I do remember that the lettering is in green. Green is great! Close Disk Utility. Quit Installer. A window will come up asking you to choose where to restart from so choose your internal hard drive and it should restart and be good to go.
    Trust me, the updates are fine. 10.4.11, Safari 3.0.4 and iTunes 7.5 are good, it's existing problems in your computer's directory or keychains that is causing the problems when updating or installing new stuff. I had to learn all of this the hard way, even though I tried to keep my mac clean and in top shape, and even though I asked and asked the Genius Bar guys at the local Apple store if there is anything more I needed to know to prevent difficulties. I learned all this here, in these discussions, in answer to my posts under other sections. Thanks Klaus1, Hawaiian_Starman, dechamp, and baltwo!
    Okay.. if I got anything wrong in my descriptions, please, please correct me! I don't want to be inaccurate. I want to know this stuff!
    Thank you so much for persevering through my long post, here. -Charlotte

  • Getting wrong information when trying to access one particular websitewebsite access

    I have a problem when carrying out a search on ONE particular website. I have contacted the company (John Lewis plc) who inform me that they do not have any roblems with their site . This problem started a month ago when I kept getting a message saying 'Due to a technical problem the page you requested cannot be displayed'. I have deleted the site from my Bookmarks and re-added but to no avail. I can now access the main page of the site but when I try to search for a product it just keeps telling me 'Due to a technical problem the page you requested cannot be displayed'. As I previously said, it only happens on this website but, having checked witheir Customer Support Team, they have confirmed that no one else has complaine of this problem and they are not aware of any problems with their site. Can anyone suggest a cure please?>

    Thank you for your response but after trying everything else I deleted both my registration and password on this site and re-registered. This seems to have cleared the problem.

Maybe you are looking for

  • Z68MA-ED55 + UEFI + Windows 7 64-bit Installation

    I've been trying for a few days now to figure out how to install Windows 7 64-bit on a single, fatty 5.5TB GPT partition in UEFI mode for this motherboard while utilizing RAID5 and Intel SRT caching. Here's the scenario: 1. I have (3) 3TB hard drives

  • Bug with min function applied to an attribute?

    Does anyone know if there is a bug with the minimum function when it is applied to an attribute? I have Accounts, Date, Sales Type and volume in my request. I have applied min(Date) in the fx of the Date column. My query is hitting the YAGO table eve

  • How to Create a 1280 x 960 project?

    Cannot find a way to create a project from scratch in 4:3 HD apect ratio. I´ve tried adding a video from my Gopro, others created in imovie, photoshop, or quicktime; but always comes the window: "video properties are not recognized" The workaround I

  • Update Arch-0.7.1 with install CD from Arch-0.7.2 [SOLVED]

    Hi all! I use Archlinux for 5 months. I am happy with Arch even if I can't use all advantages. Because I can't get a fast Internet connection like DSL. So I'm running Archlinux 0.7.1 downloaded arch-0.7.2.iso and burn it on cd.  I copied all packages

  • Database from ACS windows 3.0 to appliance 3.3.2.2

    I have ACS 3.0 for windows and bought 2 ACS appliances to replace the windows ACS. Is it possible to load ACS windows 3.0 config to ACS appliance 3.3.2.2