<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kfdani-001-site10.gtempurl.com/index.php?action=history&amp;feed=atom&amp;title=OpenSite%2FConcepts%2FDocuments_and_identity</id>
	<title>OpenSite/Concepts/Documents and identity - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kfdani-001-site10.gtempurl.com/index.php?action=history&amp;feed=atom&amp;title=OpenSite%2FConcepts%2FDocuments_and_identity"/>
	<link rel="alternate" type="text/html" href="https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Concepts/Documents_and_identity&amp;action=history"/>
	<updated>2026-10-30T02:07:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Concepts/Documents_and_identity&amp;diff=922&amp;oldid=prev</id>
		<title>BathAfrica: Connect OpenSite chapter overviews into the documentation reading flow</title>
		<link rel="alternate" type="text/html" href="https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Concepts/Documents_and_identity&amp;diff=922&amp;oldid=prev"/>
		<updated>2026-10-29T21:16:23Z</updated>

		<summary type="html">&lt;p&gt;Connect OpenSite chapter overviews into the documentation reading flow&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:16, 29 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[OpenSite/Guides/First document|Practise edit, undo, redo, save and reopen.]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[OpenSite/Guides/First document|Practise edit, undo, redo, save and reopen.]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;os-page-nav&quot;&amp;gt;{{Docnav|OpenSite/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Getting started&lt;/del&gt;|OpenSite/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Guides&lt;/del&gt;|OpenSite/Guides|All guides}}&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;div class=&quot;os-page-nav&quot;&amp;gt;{{Docnav|OpenSite/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Workspace tour&lt;/ins&gt;|OpenSite/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Concepts/Properties and units&lt;/ins&gt;|OpenSite/Guides|All guides}}&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:OpenSite documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:OpenSite documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BathAfrica</name></author>
	</entry>
	<entry>
		<id>https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Concepts/Documents_and_identity&amp;diff=875&amp;oldid=prev</id>
		<title>BathAfrica: Publish professional OpenSite help structure and learning paths</title>
		<link rel="alternate" type="text/html" href="https://kfdani-001-site10.gtempurl.com/index.php?title=OpenSite/Concepts/Documents_and_identity&amp;diff=875&amp;oldid=prev"/>
		<updated>2026-10-29T21:01:44Z</updated>

		<summary type="html">&lt;p&gt;Publish professional OpenSite help structure and learning paths&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
{{OpenSite scope}}&lt;br /&gt;
Use the right identity for the operation you are performing.&lt;br /&gt;
&lt;br /&gt;
== Four identities ==&lt;br /&gt;
{| class=&amp;quot;wikitable os-table&amp;quot;&lt;br /&gt;
! Value !! Purpose !! Lifetime&lt;br /&gt;
|-&lt;br /&gt;
| Persistent document ID || Identifies saved model content || Survives save/reopen&lt;br /&gt;
|-&lt;br /&gt;
| Session handle || Addresses an open document instance || Valid only for that live session&lt;br /&gt;
|-&lt;br /&gt;
| Object ID || Identifies an object inside a document || Retained by document persistence&lt;br /&gt;
|-&lt;br /&gt;
| Name and label || Unique lookup name and human-readable display label || Different from the object ID&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Read identity explicitly ==&lt;br /&gt;
{{Code|lang=python|code=&amp;lt;nowiki&amp;gt;import opensite&lt;br /&gt;
&lt;br /&gt;
doc = opensite.execute(&amp;quot;document.new&amp;quot;, {})[&amp;quot;document&amp;quot;]&lt;br /&gt;
created = opensite.material_create_user(doc, {&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;Practice steel&amp;quot;, &amp;quot;family&amp;quot;: &amp;quot;steel&amp;quot;, &amp;quot;role&amp;quot;: &amp;quot;structural_steel&amp;quot;,&lt;br /&gt;
    &amp;quot;has_elastic&amp;quot;: True, &amp;quot;elastic_pa&amp;quot;: 210.0e9,&lt;br /&gt;
    &amp;quot;has_poisson&amp;quot;: True, &amp;quot;poisson&amp;quot;: 0.28,&lt;br /&gt;
    &amp;quot;has_mass_density&amp;quot;: True, &amp;quot;mass_density&amp;quot;: 7850.0,&lt;br /&gt;
    &amp;quot;has_thermal&amp;quot;: True, &amp;quot;thermal_per_k&amp;quot;: 1.2e-5,&lt;br /&gt;
})&lt;br /&gt;
item = doc.get_object(created[&amp;quot;id&amp;quot;])&lt;br /&gt;
print(&amp;quot;Persistent document:&amp;quot;, doc.identity())&lt;br /&gt;
print(&amp;quot;Session handle:&amp;quot;, doc.session)&lt;br /&gt;
print(&amp;quot;Object ID:&amp;quot;, item.id)&lt;br /&gt;
print(&amp;quot;Internal name:&amp;quot;, item.name)&lt;br /&gt;
print(&amp;quot;Display label:&amp;quot;, item.label)&lt;br /&gt;
assert doc.get_object(item.name).id == item.id&lt;br /&gt;
opensite.material_renumber(doc, item.id, 12)&lt;br /&gt;
assert doc.get_object(item.id).id == item.id&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Transactions and files ==&lt;br /&gt;
An accepted edit publishes a consistent revision. Undo/redo are session history. Saving writes document data, not the undo stack. Reopening returns a new live handle; do not keep using a closed one.&lt;br /&gt;
[[File:OpenSite_Document_Flow.svg|850px|center]]&lt;br /&gt;
&lt;br /&gt;
== Next lesson ==&lt;br /&gt;
[[OpenSite/Guides/First document|Practise edit, undo, redo, save and reopen.]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;os-page-nav&amp;quot;&amp;gt;{{Docnav|OpenSite/Getting started|OpenSite/Guides|OpenSite/Guides|All guides}}&amp;lt;/div&amp;gt;&lt;br /&gt;
[[Category:OpenSite documentation]]&lt;/div&gt;</summary>
		<author><name>BathAfrica</name></author>
	</entry>
</feed>