IBM Support

LO78208: CURRENTVIEW PROPATY SET UP TO NULL ON EMBEDDED VIEW ON PAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • The value of CurrentView property will set to NULL by
    NotesUIWorkspace to the embeddi view set up on the page.
    
    [Reproduce steps]
    1. Create a page in Notes database.
    2. Create a Embed view to the page.
    3. In order to refer to data from this embedd view, create a
    button with which the following script is described.
    
    
    Sub Click(Source As Button)
     Dim session As New NotesSession
     Dim db As New NotesDatabase( "Test01/IBM","names.nsf" )
     Dim uiws As NotesUIWorkspace
     Dim embeddedView As NotesUIView
     Dim embedViewDocCollection As NotesDocumentCollection
     Dim embedViewDocument As NotesDocument
    
     Dim jnam As NotesName
     Dim nam As NotesName
     Dim workspace As New NotesUIWorkspace
    
     Set uiws = New NotesUIWorkspace()
     Set embeddedView = uiws.CurrentView
    
     Set embedViewDocument =
    db.GetDocumentByID(embeddedView.CaretNoteID)
     Set jnam = session.CreateName(embedViewDocument.AltFullName(0))
     Set nam = session.CreateName(embedViewDocument.FullName(0))
    
     Call workspace.SetTargetFrame("FRM1")
    
     Call workspace.ComposeDocument( "Test01/IBM", "Foo1.NSF",
    "FORM1" )
    End Sub
    
    4. at run thes script, Erorr "the error O001:Object variable not
    set" occur on line  "Set embeddedView = uiws.CurrentView". Since
    the value of  CurrentView property is NULL.
    
    If create and run same script is created in form, the value of
    CurrentView property can be got correctly.
    

Local fix

Problem summary

  • This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# TITH9E5ER6.
    This APAR is closed as FIN. We have deferred the fix to a
     future release.
    

APAR Information

  • APAR number

    LO78208

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    853

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-12-06

  • Closed date

    2016-03-03

  • Last modified date

    2016-03-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R853 PSN

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 March 2016