[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

Creating new views

I'm trying to figure out an easy way to rename a number of views that I have already created, to display under a seperate category.

For example:

I currently have the following views:

>All Jobs
  >by Primary
  >by Secondary
  >by
  . . .
>All Programs
  >by Contact
  . . .

I want to rename these views so all have the prefix Documentation/

Here is how I want to display my view after I rename them:

>Documentation
  >All Jobs
    >by Primary
    >by Secondary
    >by
    . . .
  >All Programs
    >by Contact
    . . .

Is there an easy way to do this, without opening every single view and changing the name manually?







0
sauce12
Asked:
sauce12
  • 4
  • 2
  • 2
  • +1
2 Solutions
 
ArunkumarCommented:
Rename one view and move all other view into this category.

Thats the easiest way i could think of...

:-(
Arun.
0
 
sauce12Author Commented:
What do you mean by, "move all other view into this category."  Is there a way to move a view, other than by manually changing the name?
0
 
sauce12Author Commented:
Could I set up an agent to do something like this?
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
ArunkumarCommented:
select a view and choose actions view options and move !
That is what i meant by moving a view.

Hope i am clear.

:-)
0
 
Jean Marie GeeraertsApplication EngineerCommented:
Just for your information:
You can only read the view names using a script agent, you cannot rename the view from script (the property is Read-Only).

A sample script to display all view names in the database in a messagebox:

Sub Initialize
    Dim session as New NotesSession
    Dim db as NotesDatabase
    Dim views as String

    views=Chr(13) 'Set views to an empty line
    'Get the currently open database
    Set db=session.CurrentDatabase
    'Go through all views in the database
    Forall v In db.views
        'Add a newline and the view name to the string
        views=views & Chr(13) & v.Name
    End Forall
    'Display a message box displaying the database title and all view names
    Messagebox "Available views in " & db.Title & " : " & views
End Sub
0
 
ArunkumarCommented:
Grrr... Why dont you answer to the point Jerrith ?  Keep the points for yourself but dont mislead people...

hee hee hee !

;-)
Arun.
0
 
Jean Marie GeeraertsApplication EngineerCommented:
Question is answered by yours truly, just thought I'd give a little insight as to why it can't be done using LotusScript (and maybe get some appreciation with a little donation in a points for Jerrith question).

Donation only if you can spare them and feel my comment was useful of course, sauce12 :-)
0
 
ArunkumarCommented:
oh okay! That was not at all a bad intention though.

Good Luck to u Jerrith!

:-)
Arun.
0
 
ZvonkoSystems architectCommented:
sauce12,
No comment has been added to this question in more than 726 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

RECOMMENDATION: split points between Arunkumar http:#6964502 and jerrith http:#6964751

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Zvonko
EE Cleanup Volunteer
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now