• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Auto generating a list of documents on the web

Hi,

Im trying to solve the following problem:

I have a form called "news", I have a view called "news" and the view is to be displayed in a browser. This works perfectly with only one problem. Domino puts all kind of garbage in like a next,previous and search button.

So i had the plan to create the following:

I have a link on my domino website which opens the view. What i would like to have is that when i click that link i could generate a list of the "news" documents with lotus script. This way it should be possible to customize the list so it's displayed the way i want it on the web.

I hope you understand my question

Kind regards,

Mathijs
0
mvdijk
Asked:
mvdijk
  • 3
  • 2
1 Solution
 
sloeberCommented:
Why don't you make a form.
Where you embed your view or where you make a field called "$$ViewBody"
Then you can modify your view the way you want.
You call the form, $$ViewTemplateDefault.
So, now, every time you call the view, he opens your form with the view in, but now without all the garbage.
You can also make for each view an seperate form.
Just call the form then $$ViewTemplate for "ViewName"

Is that what you want ?
Else please give a little bit more comment, so that I can give you more specify information

Greets,
Sloeber
0
 
ghassan99Commented:
There are 2 ways to achieve this:
Create a form and embed the view in it.  If you go create-embedded element-view menu item you will be able to choose the view u want to add to the form.  Then you can add any extra graphics or links to surround the view in any way.
You can then give this form any name and access it as usual.
If  you want all views to open in a certain way, or a specific view to open in a different look, create the form with one of these names:
$$ViewTemplateDefault
$$ViewTemplate for view_name
The first name is for all views, and if you want it for a specific view, replace 'view_name' with the actual name of you view.  Now inside this form you either embed the view as I wrote above, or create a field called '$$ViewBody', and place it in the form where you want the view to show.
You can use formulas such as this for links to next & previuos pages, etc.
@DbCommand("Domino"; "ViewPreviousPage")
@DbCommand("Domino"; "ViewNextPage")

-Gus


0
 
ghassan99Commented:
Oops, sorry I think we posted at the same time.

-Gus
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
mvdijkAuthor Commented:
You were 6 minutes earlier than ghassan so here you are!

It workes fine!
0
 
sloeberCommented:
Thanx
For the points
Sorry, gus
The next one is for you
;-)

Greets,
Sloeber
0
 
ghassan99Commented:
No its ok, dont worry, it happens in EE.  Its good that Mathijs got it working.

Regards,
-Gus
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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