Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

LotusScript: Secctions View

Posted on 2004-08-30
11
Medium Priority
?
335 Views
Last Modified: 2013-12-18
Hi, here i am again.
My app is almost finalized.
I have just a little question:
I have setted seccions view based on a value (true or false) in some fileds setted according to user roles (that part works).
Everything works fine if i see the document, some secctions are hidden and some don't.
But, as soon i put the document in edit mode, ALL seccions can be viewed.
The value sin the filed remains untouched after i put the document in edit mode but it appears that it doesn't care to Notes.

How i can maintain those hidden secctions in view and edit mode of the document?
Thanks in advance.
points should be raised it i got a working solution.
0
Comment
Question by:Richie_Simonetti
  • 7
  • 3
11 Comments
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11933551
i meant
The value sin the filed remains untouched
The values in the fields remains untouched
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 11934202
Every section has a Section Properties box, where you can set exactly what will happen in any situation. See the Designer Help db, Creating sections.
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11934679
I used "Hide paragraph when formula is true" and setted the value to field name where i put True or false values.
When open the document, sections that have their fileds with False values are not seeing, but after edit the document, they are not hidden anymore even if those fields don't change.
i did the same for Edit those sections and it works. I only need to hide them now and i need that those sections remain hidden after edit the document. Was i clear?
I hope so.
Thanks and cheers
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 46

Assisted Solution

by:Sjef Bosman
Sjef Bosman earned 200 total points
ID: 11939233
Let me put this in my own words, so you can see if I really understood:
- you have a form with sections, collapsing and expanding using the caret
- sections are not controlled access sections
- you use hide-when formulae in the section headers

Did you try to set hide-when formulae to the lines INSIDE the sections as well? The hide-when formula in the Section Properties will only hide the section header, if I'm right.

I assume this is for the Notes client, not Web.
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11942014
Following Your statement:
-Yes, but all sections are expanded
-No, sections are controlled access section
- I don't know. i use Hide paragraph is formula is true for section properties (last tab in properties window)

INSIDE?- sorry, i don't understand.
When i see the doc in "view" mode, i can see only few sections (what is what i want), but as long as i put in edit mode, all sections are showed :(
0
 
LVL 46

Expert Comment

by:Sjef Bosman
ID: 11942468
I'll do some experimenting later today. Could you give an example of a hide-when formula? And of a controlled-access formula?
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11946242
Well, all is in the question but let see a lttle example:

-2 controlled access sections

in access control property there is the name of a field (called sec01_edit) for section01 and other field (called sec02_edit) for section02
Both fields (sec01_edit and sec02_edit) are hidden at top of the form

In "Hide paragraph if formula is true" there are other fields names (named sec01_view and sec02_view)

All those four fields are populated with values when the document is saved and pass to another stage in the workflow.

When you open the document in the next stage, those fields are already populated correctly, and you can see only the sections that have True (-1) in the secXX_view fields values.
The same is true for edit those sections.
The problem is qhen you pass the document to Edit mode, all sections are visibles again no matter what i have oon those secXX_view fields.
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11946493
points raised
0
 
LVL 31

Accepted Solution

by:
qwaletee earned 200 total points
ID: 11957189
"Hide when inside and outside" as Sjef says... hide when properties are associated with a paragraph.  The section header is considered one paragraph, and the first line inside the section is a completely separate paragraph.  So, you canhide teh header without hiding the inside content, or vice versa.  You shoudl make sure the hide-when formula used for the section header is also applied to its inside content.
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11957209
hummm... okey, let's see...
0
 
LVL 16

Author Comment

by:Richie_Simonetti
ID: 11958210
All works in view mode, as soon as change to edit mode, all sections AND theirs contents are visibles.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question