<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум компьютерной помощи &mdash; Включение  DAOS в Lotus/Domino]]></title>
		<link>http://itpmr.ru/viewtopic.php?id=1090</link>
		<atom:link href="http://itpmr.ru/extern.php?action=feed&amp;tid=1090&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Включение  DAOS в Lotus/Domino».]]></description>
		<lastBuildDate>Fri, 29 Dec 2023 08:59:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Включение  DAOS в Lotus/Domino]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=124933#p124933</link>
			<description><![CDATA[<p>Вариант с коллекцией документов:</p><div class="codebox"><pre><code>Sub Click(Source As Button)
    Dim session As New NotesSession
    Dim db As NotesDatabase
    Dim dc As NotesDocumentCollection    
    Set db = session.CurrentDatabase
    Dim db2 As NotesDataBase
    Dim doc As NotesDocument
    Dim newdoc  As NotesDocument
    Set db2 = session.Getdatabase(&quot;B/i&quot;, &quot;O\r\G.nsf&quot;)
    Set dc=db.AllDocuments
    
    For i=1 To dc.count
        Set doc = dc.GetNthDocument(i)    
        Set newdoc=db2.CreateDocument    
        Call doc.CopyAllItems(newdoc,1)
        newdoc.UniversalID=doc.UniversalID
        Call newdoc.Save(True,False)
        Print doc.UniversalID &amp; &quot;  &quot; &amp; i
    Next
End Sub</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 29 Dec 2023 08:59:19 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=124933#p124933</guid>
		</item>
		<item>
			<title><![CDATA[Re: Включение  DAOS в Lotus/Domino]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=124932#p124932</link>
			<description><![CDATA[<p>Код кнопки - коприрует все документы с текущей базы в нужную - BD1, сохраняя все UniversalID у документов.<br /></p><div class="codebox"><pre><code>Sub Click(Source As Button)
    Dim session As New NotesSession    
    Dim db As NotesDatabase, workdb As NotesDatabase
    Dim view As NotesView
    Dim doc As NotesDocument, newdoc As NotesDocument
    Dim linksDB As NotesDatabase
    Dim Agent As NotesAgent
    Dim docRequest As NotesDocument
    Dim item As NotesItem
    Dim paramid As String
    Dim server As String
    Set ns=New NotesSession
    Dim viewlog As NotesView
    Dim id_curdoc As String     
    &#039;
    Dim dc As NotesDocumentCollection
    Dim ftdoc As notesdocument
    Dim  ftnewdoc As  NotesDocument
    Dim  nextftdoc As  NotesDocument
    
    On Error Goto Errh
    Set db = session.CurrentDatabase
    server = db.Server
    Set view=db.GetView(&quot;all doc&quot;)
    Set workdb = New NotesDatabase( server, &quot;docobor\BD1.nsf&quot; )
    Dim i As Double
    i=0
    Set doc = view.GetFirstDocument
    While Not (doc Is Nothing)
        
        Set newdoc=workdb.CreateDocument        
        Call doc.CopyAllItems(newdoc,1)
        newdoc.UniversalID=doc.UniversalID
        Call newdoc.Save(True,False)
        
        Print doc.UniversalID &amp; &quot;  &quot; &amp; i
        i=i+1
        
        Set nextdoc = view.getnextdocument(doc)
        Set doc=nextdoc
        Set nextdoc=Nothing
        &#039;Print doc.UniversalID  &amp; doc.header(0)
    Wend
    
    
    Exit Sub
Errh:    
    &#039;
    Print Error &amp; | in line | &amp; Erl(), 64, |Lotus Notes (| &amp; Lsi_info(2) &amp; |)|
    &#039;Goto nextDoc
    &#039;Exit Sub
End Sub</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Fri, 29 Dec 2023 06:33:37 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=124932#p124932</guid>
		</item>
		<item>
			<title><![CDATA[Re: Включение  DAOS в Lotus/Domino]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=124823#p124823</link>
			<description><![CDATA[<p>Чтобы не копировать базу и потом отдельно документы в неё, можно в текущей базе обновить ODS43 на ODS51 в консольке командой<br />Load compact -c&nbsp; &nbsp;путь/база.nsf</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 21 Apr 2022 05:54:04 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=124823#p124823</guid>
		</item>
		<item>
			<title><![CDATA[Re: Включение  DAOS в Lotus/Domino]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=124797#p124797</link>
			<description><![CDATA[<p>Load fixup promdoc/documents.nsf<br />Load updall -R promdoc/documents.nsf<br />Load compact -c promdoc/documents.nsf</p><br /><p>Данный набор команд обновляет ODS, а так же при включенном хранении файлов в объектах (ДАОС) - выносит вложения с базы в ДАОС.</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Thu, 01 Oct 2020 12:48:41 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=124797#p124797</guid>
		</item>
		<item>
			<title><![CDATA[Включение  DAOS в Lotus/Domino]]></title>
			<link>http://itpmr.ru/viewtopic.php?pid=124783#p124783</link>
			<description><![CDATA[<p>В домино администраторе в серверном документе&nbsp; во вкладке DAOS&nbsp; </p><p>1.<br />Серверный NOTES.INI: <br />Create_R85_Databases=1<br />NSF_UpdateODS=1</p><p>2.<br />- вкл. &quot;хранить приложения в DAOS&quot;..<br />- путь к папке &quot;C:/DAOS&quot;<br />- время 3 дня.</p><p>3.<br />Transactional logging: включить<br />- путь к папке лога &quot;C:/DAOS&quot;<br />- размер лога 500 МБ.</p><p>4. <br />Копия базы&nbsp; - например &quot;Документы&quot; (если ODS 43), в &quot;Документы2&quot;&nbsp; проверяем, чтобы ODS стало 51.<br />- ставим галочку&nbsp; &quot;Use Domino Attachment and Object Service&quot;.<br />- документы не копируем.</p><p>5. <br />Отдельной кнопкой переносим документы с &quot;Документы&quot;&nbsp; в &quot;Документы2&quot;. сохраняя старый UNID</p><p>6. <br />Удаляем пустую БД &quot;Документы&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (admin)]]></author>
			<pubDate>Wed, 18 Mar 2020 07:53:02 +0000</pubDate>
			<guid>http://itpmr.ru/viewtopic.php?pid=124783#p124783</guid>
		</item>
	</channel>
</rss>
