Kentico repeater ORDER BY date - kentico

My page type as a date field 'Date', but i can't seem to get the repeater to display the items by Date.
My plan is to have a table with Date, Subject, and Author, and use a jquery plugin to sort by date.

EDIT: If you leave the DocumentTypes field blank (which means it will load all document types) then I believe the fields for those types aren't loaded into the properties for the CMSRepeater, so they will not be able to be ordered with ORDER BY or filtered with WHERE.
If you'll open up your repeater webpart, you'll see a section called Content Filter. One of the settings in this filter is ORDER BY as seen here (v7 screenshot):
To filter by date, enter the name of the document type's field in this box (Make sure that field is of datetime type). For example:
You can also specify whether to sort by ascending (ASC) or descending order (DESC):

Related

Netsuite. Saved Search, how to join another table

I'm trying to make Saved Search which has Transaction fields that I want to join any other type's fields.
When I make Criteria, Result in Saved Search, I realized there is limitation to bring certain field.
I know the Type & Internal ID, so I used formula(numeric) and insert custom_item.realamount(This is actually what I want to know). But this wasn't show a value.
How can I make these two types to join each other?
There is no field in Netsuite called custom_item If you are trying to join a custom item field on a transaction search formula field then you'd be looking at a join like
{item.custitem_uniquepart_}
Where _uniquepart_ is either an integer if the custom field was created without a custom id value or it's the value entered for the id field of the custom field.

Link Netsuite Saved Search to Custom Field on Sales Order

I am trying to create 2 custom fields on a Sales Order; to show the total number of items that are unfulfilled, and the total combined $ amount of those items.
I have been searching for awhile and the only help I could find is that this should be possible with a saved search.
So, I have created a saved search;
And I have created a custom transaction field (see below) which I believe is referencing my saved search, but how do I select which value it refers to? The field underneath where I selected my saved search BACKORDERS SUMMARY, doesn't appear to be related at all.
The Field dropdown below the Search is not for selecting from the search results field. Summary Searches provide 1 summary value only. If you want 2 different values, you need 2 different searches.
The Field dropdown is used to select the field from the current record to use as the filter for the saved search. Assuming your custom fields are placed on the Sales Order, you'll want to set your Available Filters criteria to Internal ID and leave the Field dropdown on the custom summary search field blank. (ie: just select your search from the Search dropdown. NS will pass in the internal id when the record is loaded.)
Try splitting your Backorders Summary search into 2 different searches, each with a single summary result type, update the filters, and set the Search drop downs to the appropriate values. Should work just fine.

How to get the date from and to fields of filter in prestashop controller

I want get the date from and date to field, selected in date filter search. Need these fields to get PDF report sorted on search filed bases.
Just take a look at some of the core stats* modules, where this is automatically supported.

How to sort items in view by field of lookup entity?

Is there any way to enable sorting on column which represents field of related entity?
For example, Case contains one lookup field - Contact. In view I added FullName and Email of Contact. Header in view of these two columns is not clickable (Sort is not enabled).
No. Sorting is not possible for fields of a referenced entity.
If you really need this, you have to build a custom view (html page) or for example a report

SharePoint Document Library Customization for document view

I have a document library in MOSS 2007 which has folders and files. Document View in the document library has the following columns: document name, type, Created datetime, created by,modified datetime. How to configure the view so that it doesn't show any information for "modified", "created" and "created by" fields for folders. In other words,I want those fields to be empty for "folder" content types in document library document listing. Thanks in advance.
[Edit] Although, Paul-Jan's answer partially addresses my question, I still don't how to solve the columns "Created By" & "Modified By". There's no attribute to refer them in "Calculated Value". Kusek said "Editor" can be used to address the "Modified By" attribute of a document but that is not working
You can use calculated columns to do this. For each column you want to have, create a calculated alternative, testing whether the content type is or isn't "folder". For example, you'd create a column ModifiedNoFolder, defined as
=IF([Content Type]<>"Folder",[Modified],"")
Make sure to assign the right type to the calculate column (datetime). Now remove the original Modified column from the view and add ModifiedNoFolder in stead.
Oh, and if you meant "in code" (making this question more programming-related), you could do the above in code. :-)
You could add javascript to the master page or the view's aspx page that will search the DOM for the relevant sections and hide them.
modified by = #Editor is in the form of html value.
The suggested calculated column w/ formula: =IF([Content Type]<>"Folder",[Modified],"") will not work for documents being added to a library. Apparently this column is set before the modified date is set, so when upload the doc, the calculated column value will be set to "12/30/1899 12:00 AM" and the modified value will have the correct date/time

Resources