Məhəbbət üçün [Sizin ən çox sevilən adam / ali doldurmaq olan], don’t change the ‘Title’ site sütun.

Haqqında SharePoint forumlar, someone occasionally asks about "changing the label of Title" or about "removing title from lists".

Aşağı xətt: Bunu etməyin!

Qubarlı, istifadəçi interfeysi kimi ki, sütun etiketin bir yolla dəyişiklik imkan verir:

image

Title is a column associated with the "Item" Bu məzmun növü. Çox, çox, çox CT bu sütun istifadə və burada dəyişdirmək əgər, 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’ yalnız bir sütun adı kimi məntiqli deyil, 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’, hər siyahısı adı (sənəd kitabxana daxil olmaqla,) changes to "Status Code" və yəqin baş ki, niyyətlərinin olmadığını.

Əsl problem bu bir yolu dəyişdirmək ki,. The UI "knows" that "title" is a reserved word. Belə, if you try and change "Status Code" back to "Title", siz mane olacaq və indi var küncə özünüzü boyalı using paint that never dries 🙂

Siz artıq dəyişib əgər nə olur? 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.

Mən araşdırma şeyi mənim siyahısı haqqında bir neçə başqa fikir var:

  • Əlaqə Microsoft.
  • Obyekt model ilə nəsə, bəlkə bir xüsusiyyət ilə birlikdə.
  • Verilənlər bazası şeması anlamaq və əl SQL güncelleyin. (Siz baxmayaraq bunu əvvəl Microsoft əlaqə olmalıdır; çox güman ki, sizin dəstəyinizə müqavilə ləğv edəcək).

Hər kəs bu həll etmək üçün necə bilir, əgər, Şərh göndərin.

Mərhum günorta Güncelle, 11/15: Mən bir mövzu sütun yoxdur ki siyahı növü yaratmaq üçün bir üsul olduğunu izah edən bu linki tapılmadı: http://www.venkat.org/index.php/2007/09/03/how-to-remove-title-column-from-a-custom-list/

7 Haqqında "fikirləriMəhəbbət üçün [Sizin ən çox sevilən adam / ali doldurmaq olan], don’t change the ‘Title’ site sütun.

  1. Jeff
    I just read your post and was concerned. I just did this very thing earlier this week.
    Mən dərhal sual siyahısına getdi və sahəsində adını dəyişmək üçün cəhd (İndi İş nömrəsinə zəng) Title üçün. 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.
    Mən bir şey itkin alıram əgər xahiş edirik Mənə bildirin, 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.
    Cavab
  2. Mark Miller EndUserSha rePoi ...
    Paul,
    Olmuşdur, bunu. Nə mess. Bu SharePoint iş ilk bir neçə həftə ərzində oldu. Mən yalnız problem qurtarmaq üçün bütün site silmə qədər başa. Bu məzmun bir çox yəqin ki, insanlar üçün bir seçim deyil, bir həll tapmaq əgər mən maraqlı olacaq.
    Regards,
    Mark
    EndUserSharePoint.com
    Cavab
  3. No name
    Çox gec! Çox gec! Lakin ən azı indi mən geri getmək bilməz bilirik, mən çalışıram dayandıra bilər.
    Bunu dəyişə bilərsiniz ki, başqa heç kimə yanlış görünür, lakin geri dəyişmir, ya mən yaş çox picky am?
    Cavab
  4. Rick Smit
    Siz maddələr bu növü üçün başlığı sütun istəmirsinizsə, bunun üçün bir içerik növü yaratmalıdır. Then you have the option to "hide" başlığı sütun. Belə ki, adı sütun sonra hələ də sağdır, ancaq vissible deyil. Mən də sütun silmək üçün qadir olan üçün seçimi var isteriz, lakin bu SharePoint məcburi istifadə olunan bir şey deyil. So it’s one of those "features" biz yaşamaq lazımdır! 🙂
    Cavab
  5. Kriss
    I believe the protection of "Title" UI qat yaşamalıdırlar. Və, bu obyekt model vasitəsilə çox asanlıqla edilməsi lazım olduğunu.
    Aşağıdakı PowerShell script cəhd edə bilərsiniz:
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
    $site =[Microsoft.Sharepoint.SPSite](http://localhost)
    $web = $ site.openweb()
    $web.contenttypes[1].sahələri[1].title="Title"
    $web.contenttypes[1].güncelleyin()
    Cavab

Bir cavab buraxın Kriss Cavab ləğv

E-poçt ünvanından dərc olunmayacaq. Lazım alanlar qeyd olunur *