Maitasuna egiteko [pertsona gehien maite / altuagoak bete izateaz], don’t change the ‘Title’ gune zutabea.

Buruzko SharePoint foroak, someone occasionally asks about "changing the label of Title" or about "removing title from lists".

Behean line: Baina ez du!

Tamalez, Erabiltzaile interfazea zutabea duten aldaketa bat-modu bat agerian uzten du:

image

Title is a column associated with the "Item" eduki mota. Asko, asko, CT horrek asko erabili zutabe hau eta aldatu baduzu hemen, it ripples out everywhere. There’s a good chance that you didn’t intend for that to happen. You were probably thinking to yourself, "I have a custom lookup list and ‘Title’ besterik ez du zentzurik zutabean izen bat, so I’m going to change it to ‘Status Code’ and add a description column." But if you follow through on that thought and rename ‘Title’ to ‘Status Code’, zerrenda behin izenburua (Dokumentu liburutegiak barne) changes to "Status Code" eta ziurrenik ez zuen asmoa hori dela-eta.

Benetako arazoa da hori, bat-modu bat da aldaketa. The UI "knows" that "title" is a reserved word. Beraz,, if you try and change "Status Code" back to "Title", saihesteko duzu izango da eta orain dituzun zeuk margotu izkinan using paint that never dries 🙂

Beraz, zer gertatzen da dagoeneko aldatu bada? I haven’t seen the answer we all want, which is a simple and easy method to change the label back to ‘Title’. Right now, the best advice is to change it to something like "Doc/Item Title". That’s a generic enough label that may not be too jarring for your users.

Gutxi beste ideia nire egiteko gauzen zerrenda ikerketa dira daukat:

  • Harremanetan Microsoft.
  • Zerbait objektu ereduaren, agian ezaugarri bat batera.
  • Irudikatu datu-basearen eskema eta eskuz SQL eguneratu. (Microsoft harremanetan jarri beharko duzu hori egiteko, nahiz eta aurretik; ziur aski gal zure laguntza-kontratua).

Edozeinek daki nola konpondu nahi bada, mesedez, post a comment.

Eguneratu arratsean, 11/15: Lotura hori metodo bat deskribatzen zerrenda-mota bat sortzeko ez duten titulu zutabe bat aurkitu dut: http://www.venkat.org/index.php/2007/09/03/how-to-remove-title-column-from-a-custom-list/

7 buruzko gogoeta "Maitasuna egiteko [pertsona gehien maite / altuagoak bete izateaz], don’t change the ‘Title’ gune zutabea.

  1. Jeff
    I just read your post and was concerned. I just did this very thing earlier this week.
    Zerrendan berehala joan naiz galdera eta saiatu eremuan berrizendatu (Lan-egun kopurua) to Izenburua. It worked without any problems. Perhaps all of the patches, hot fixes and service packs since your original post have made this a non-issue. I’m on SP1 with all the latest updates.
    Just to be sure I named it back to Job Number and crated a new list. It had a Title column and everything looked fine.
    Please let me know dut zerbait falta, or need to look at this a different way. I’d hate to let this go if it’s actually a problem. Now’s the time to fix it. I’m just getting ready to build out the content in my test environment.
    Erantzun
  2. Mark Miller EndUserSha rePoi ...
    Paul,
    Egon, hori egin. Zer gaizki. Izan zen SharePoint lan lehenengo bikote aste barruan. Amaitu I, webgune guztia ezabatzen besterik arazoa kentzeko. Hori da, ziurrenik, ez da pertsona aukera bat eduki asko, beraz, interesa dut aurkituko duzu irtenbide bat bada.
    Ondo izan,
    Markatu
    EndUserSharePoint.com
    Erantzun
  3. Izenik ez
    Beranduegi! Beranduegi! Baina, gutxienez, orain ezin dut joan atzera ezagutzen dut, beraz geldiarazten saiatzen naiz ahal.
    Ez du gaizki badirudi da inor hori alda daiteke, baina ez da aldatu atzera, edo gehiegi hautakorra am dut nire zahartzaroan?
    Erantzun
  4. Rick Smit
    Ez baduzu nahi elementu mota hauen zutabe izenburua, da eduki mota bat sortu behar duzu. Then you have the option to "hide" izenburua zutabean. Beraz, titulua zutabea ondoren, bizirik, baina besterik ez vissible. Era berean, I love aukera gai zutabea ezabatu nahi izateagatik, baina zerbait erabiltzen da, barne SharePoint egilea da. So it’s one of those "features" bizi behar dugu! 🙂
    Erantzun
  5. Kriss
    I believe the protection of "Title" beharko UI geruza bizi. Eta, hori egin behar da, nahiko erraz objektu ereduaren bidez.
    Honako PowerShell scripta saiatu dezakezu:
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $gune =[Microsoft.Sharepoint.SPSite](http://localhost)
    $web = site.openweb()
    $web.contenttypes[1].eremu[1].title="Title"
    $web.contenttypes[1].eguneratu()
    Erantzun

Utzi iruzkin bat Kriss Utzi erantzuna

Zure e-posta helbidea ez da argitaratuko. Beharrezko eremuak markatu dira *