|
Sharepoint, WSS 3.0: управление версиями.
|
|||
---|---|---|---|
#18+
Задача: добавлять документ с <B>указанной пользователем версией</B>, а также сделать так, чтобы при сохранении файла, была возможность выбрать "сохранить как новую версию", "перезаписать файл в существующую версию". По адресу: http://office.microsoft.com/ru-ru/sharepointtechnology/HA100215761049.aspx находится статья, в которой написано: При наличии разрешений на удаление версий можно переписать второстепенную версию, заменив ее другой второстепенной. Например, можно переписать версию, если известно, что предыдущая содержит ошибку и ее не нужно сохранять. Т.е., как я понял, тут невнятно написано что вроде бы как можно. Вопрос: поддается ли такая задача решению, ну и, конечно, хотелось бы знать, как это делать? В Microsoft.SharePoint есть класс SPFileVersionCollection и класс SPFileVersion. Только вот методов в ней необходимых мне не разглядел. Может проглядел?.. Спасибо! ... |
|||
:
Нравится:
Не нравится:
|
|||
16.04.2009, 11:11 |
|
Sharepoint, WSS 3.0: управление версиями.
|
|||
---|---|---|---|
#18+
Отвечаю сам себе. Set Initial Version of Document http://www.eggheadcafe.com/conversation.aspx?messageid=32266797&threadid=32266797 27-May-08 08:53:00 Is it possible to set the initial version of the document when it is uploaded to a document library? I have a heap of existing documents, which are soon to be managed with MOSS document libraries. The business users would like to be able to continue the version numbers from the current version. For example, they may have a document which is currently version 12 When they upload this into the MOSS document library, they would like the version number to be 12 initially, and then move on from there. Is this possible? (a code solution would be OK) Thanks in advance. Дальше идёт почти месячная переписка и заканчивается всё словами: Hi Arduk, After some further consulting to other sps engineers, there still haven't come out a definite solution. currently due to the restriction, it is a bit hard for me to continue involve them into newsgroup support. If you really need to fix the problem, I suggest you contact CSS for further assistance: Microsoft Customer Support Services (CSS) at http://msdn.microsoft.com/subscriptions/support/default.aspx Thanks for your understanding. Sincerely, Steven Cheng Microsoft MSDN Online Support Lead http://www.eggheadcafe.com/conversation.aspx?messageid=32427381&threadid=32266797 Похоже, что никак. Просмотрев библиотеку Microsoft.Sharepoint обнаружил, что все свойства касательно версии, являются readonly. ... |
|||
:
Нравится:
Не нравится:
|
|||
17.04.2009, 16:12 |
|
|
start [/forum/topic.php?fid=12&fpage=18&tid=1330514]: |
0ms |
get settings: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
28ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
34ms |
get tp. blocked users: |
2ms |
others: | 255ms |
total: | 366ms |
0 / 0 |