SetTargetFrame

Hi. I created a frameset with a left frame and a right frame. I created one button on the left frame. I want to click the button to open doc on right frame. I tried ws.SetTargetFrame(“RightFrame”)… but it alwasy open a new window, not in right frame… any idea?

Subject: SetTargetFrame

Use it in the folliwng way

@Command([FileOpenFrameset];“framesetname”);@SetTargetFRame(“framename”);@Command([OpenDocument];documentuniqueid).

Rgds

Sri

Subject: RE: SetTargetFrame

thanks for the response. I tried that way, but I still open a new window, not in right frame. My code is here:

@Command([OpenFrameset];“framesetname”);@SetTargetFRame(“framename”);@Command([editprofiledocument];“formname”).

Subject: RE: SetTargetFrame

@Command([editprofiledocument];“formname”) don’t work with @setTargetFrame

But you can do something like :

@Command([OpenFrameset];“framesetname”);@SetTargetFRame(“framename”);@Command([OpenPage];“MyPage”)

Where MyPage contains a doclink to The Profile Document And has autolaunch option set to firstdocumentlink. (Maybe you can compute the doclink)

I think it’s not the better way, but it’s a way.