You may know that computed subforms can be helpful if you need to hide/show richtext field.
You can create a subform, put there richtext field and then insert computed subform on a main form with required formula. I used this approach many times and it always worked perfectly.
However today I discovered that this approach does not work if you richtext is located in a nested subform that is inserted in another subform that is eventually used on a main form. In this case all attachments are displayed additionally at the bottom under horizontal line like there is not associated richtext field on Notes form at all.
Form<-Computed subform: it works
Crap :-) Now I have to switch to solution with a collapsible section or layer.
Release 9.0.1FP2 SHF63
Even with $V2AttachmentOptions set? Wierd!
ReplyDeleteHi, I think $V2AttachmentOptions works only for Web and it hides attachments completely.
ReplyDeleteMy case is different. I do what to see my attachments in Notes client but only once, not twice.
Thank's for your comment anyway :-)
FYI Rather well working approach to overcome this issue is described in the article http://dominopower.com/article/how-to-hide-attachments-in-hide-whens/2/. In general - you should add Header section into your Main form with hight value enough to hide V2-style attachments. Just one note - In the article suggesting to set the value to 0 or 1 pixels, but as i found this hides not only the V2 attachments, but Action bar as well. So if there are actions on Action bar then you have to find a proper value to hide V2-style attachmens, but not Action bar.
DeleteThis has been a known issue with Notes since 2003. Nice to see IBM taking software quality seriously.
ReplyDeletehttp://www-01.ibm.com/support/docview.wss?uid=swg21105254
I was doing some Googling today to see if this problem had been fixed before making some changes to an existing old Notes client system and came across your post. :-)
:-) Yep, we can't have everything we want :-)
DeleteThis comment has been removed by the author.
ReplyDeleteIt works fine in Browsers. I have an application with RichText on a computed Subform, embedded in another computed Subform and it seems ok.
ReplyDelete