The '''DocumentInterface''' component is a [[Favorites]] Type Component that is used in the default or custom document viewers.
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|ItemName|IField`1|
|ItemName|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv0=true| The name of this interface.
|SpawningUser|UserRef|
|SpawningUser|UserRef| The user that spawned this document viewer.
|SpawningUserID|IField`1|
|SpawningUserID|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv2=true| The field that contains the user ID of the user that spawned this document viewer.
|IsInstance|Bool|
|IsInstance|Bool| Whether this was spawned by the [[Favorites]] system (true) or spawned from inventory (false)
|URL|IField`1|
|URL|'''[[Type:IField`1|IField`1]]<[[Type:Uri|Uri]]>'''|TypeAdv4=true| The URL field of the document asset component this document viewer is showing.
|Page|IField`1|
|Page|'''[[Type:IField`1|IField`1]]<[[Type:Int|Int]]>'''|TypeAdv5=true| The field that controls which page this document viewer is currently showing.