I have a date/time field name DeliveryDate and I have a view that will list all Delivery date. Some of document will have empty delivery date. Below here the example of the view.
Right now, the view show "(Not Categorized)". How can I change it to another name such as "Old Record". Any help will be appreciated. Thanks!
The easiest thing to do is change the formula for that view column to e.g.:
#if(DeliveryDate=“”;”Old Record”;DeliveryDate)
Of course you might prefer to remove those records from the view all together. In that case just add the following to the Select formula for the view:
& !DeliveryDate=“”
Without changing the data? You can't, today. To understand - you want different text instead of "Not Categorized" to represent empty data? And that would be at the view level?
Related
We have a web site in which it is built using Lotus Notes. This site allows users to submit their applications for employment. On the initial screen the user selects the location and/or area of interest they are interested in. From their selection, a listing of the various positions available are displayed.
The issue that we are having is trying to get the listing to display the various positions in some type of order. The listing is displayed using a view.
Within this view, there are 4 columns. In the first column, the job title is displayed. In the second column, is the shift, the third column is the area of interest and the last column is the reference number. In the first column of the view, this is the value for the column title - "Job Title"
Below is the formula for the column value:
ThisDB := #ReplaceSubstring(#ReplaceSubstring(#Subset(#DbName; -1);" ";"+");"\";"/");
Temp := "" ;
"" + temp + jobTitle + ""
When this is displayed, it is displayed in order by the document ID, is there a way of getting this to be displayed by the area of interest? The area of interest would appear as "Purchasing", "Accounting", "Sales", etc.
Any help with this is greatly appreciated.
Thank you,
Jean
You need to open the view in Notes Designer and double-click on one of the column headers to open the properties. You can set a sort order in the properties dialog for the area of interest column, and make sure no other columns are sorted.
Alternatively, you can add a hidden column just for sorting as the first column from the left. That column can be the same value as area of interest (or anything else you need to sort by) but it won't display when the view is rendered.
I found the issue - within the formula we were using "searchview" and with the sort order for this defaults to "relevance". By adding the "searchorder=4" option users the designated column we have set as the sort order for the listing. Thank you for your comments and hope this helps someone else.
I have a situation wherein I need to display all documents in view. Issue is I need to display multivalued fields (can be achieved by modifying view column to display new line). Now issue comes when a column value is also multivalued. E.g. first column is created by looping through 50 fields (single value) and second column is created by looping through corresponding 50 fields but these fields are multivalued.
I am looking for ideas about how to nest repeats in this case. Issue is in first repeat I get the handle of documents but in nested one i am not able to get this handle to be able to loop through fields. And it is not simply one column or value I want to display, there are 4-5 such columns.
Any ideas are welcome.
Thanks in advance.
You want to start looking at a repeat control, not a view control. Have the outermost control loop through the entries in the view and populate the data source of a containing panel with a Notes document. Then inside the panel you only refer to the inner document data source.
I have a custom view of a list that doesn't include the "Title" field, I need to associate the display from with another spfield, how do I go about this?
Thanks
Achieved by setting the LinkToItemAllowed and ListItemMenuAllowed properties of the spfield to SPField.ListItemMenuState.Required;
Although not the nicest but a simple SPD workflow that populates a custom column of type Hyperlink/Picture with the DisplayForm URL. And then you can display this column into your respective view.
However, what's the reason you want to do this? You don't have the value in title? You can use the Title(linked to item) instead of Title(linked to Edit Menu). You may want to verify the names though as what I have put in terms of paranthesis might not be exact.
I want to hide the grand total row in views using #formula or lotusscript.
How should I do this?
There's no Formula or LotusScript for hiding the grand total in a view, but I found a work-around for the cases where the grand total does not make business sense at all and would only confuse the users.
Displaying the view as an embedded view in a form, using Show single category leaves out the grand total row. You may need to use this view only as embedded view and have otherwise useless fixed category for all documents (i.e. put "1" in the formula for the categorized column and use the same in Show single category). You'll also need the SaveOptions text field with default value "0" so the users don't get dialog asking whether they want to save the document (after all, for them this is a view) and the line Continue = False in the QuerySave event.
Then you need to find how to best integrate this with the other views - maybe use Auto frame in the form properties if your application uses framesets. The users may not be able to tell the difference.
Seems like a lot of work for removing one line from the view but I am not aware of another way to hide it and sometimes it's worth the added complexity.
Does that help?
You can also create a Filtered By Category view by using #SetViewInfo with first column with value "1" and filter by this values. All documents will be displayed only total sum will be hidden.
Content type Events has intro, body and an "event date" field (using Date module). In the Page View I'd like to filter nodes so that only items with an "event date" in the future appear.
Problem is, when I try to add a filter field, this "event date" does not appear in the list.
Is what I'm trying to do possible? Seems simple enough yet I dont see this field, even after clearing all caches etc.
Select the Date: Date (node) filter type. When you select it, the next screen will prompt for which CCK fields to filter by. That's where you'll need to select the event date field.
I got the answer finally , the perfect one and the right one
for views filter content date
extra one module views_attach that enable your content and profile to add with views and allow more solution for you
filter [+] then
from the group selection , select date
then date [node]
then, u show the list of criteria follow steps
then update and save ...
No this is wrong one
filter - > group -> content -> here field which create in content type cck date , must be shown.....