Sharepoint Same list content but different group by - list

I want to create multiple list pages using the same List data/content but just applying different Group By filters.
Is there a way to achieve this the easiest way with limited coding?

As far as I understand what you want, you don't need any coding at all.
Create a number of pages with the list WebPart, that you need and set different Views for them, where you have configured the Group By rule individualy for each View.

Related

How should I create a simple enough regex for multiple specified URLs with two different parent paths for Google Analytics?

First ever question post - so apologies in advance.
I have created the Custom Report in Google Analytics
and I'm trying to create a list of matching slugs to two different parent folders to sit within the same custom report.
I can get this to work as a custom report:
/courses/(course-slug-1|course-slug-2)$
the problem is I can't add this set of regex to it as well without breaking the custom report;
/study/faculty/(key-page-1|key-page-2)$
How is the way i should bundle this regex to show these pages. For context there is 63 course page urls and 5 key pages I want in this same custom report to bring it to a total of 68.
Thanks very much
Filters in custom reports get applied in series. The first filter limits the data, then second filter is applied to that already-filtered set, and so on.
You need to create the regex expression in a single filter:
/courses/(course-slug-1|course-slug-2)$|/study/faculty/(key-page-1|key-page-2)$
That should do it.

How to set up many to one relationship in Sitecore

Let me preface by saying I'm pretty new to both Sitecore and C# so be gentle. I'm setting up products as Sitecore items for a new website we are working on. Each product could have dozens of replacement parts associated with it. Each part may or may not be associated with associated with multiple products. I'm trying to determine the best way to set this up taking into account creating and possibly reusing parts across products and also how best to associate parts with products.
Use a list Data Type like MultiList and Treelist (with Search) on the Product Template for the parts.
Avoid lots of items in a single folder this can give performance issues in the CMS. (up to 100 is okay). So create a tree structure for te parts if you have many parts, Or use a bucket. Bucket are good for many thousands of items.

List of News Articles In Sitecore (Best Approach?)

I am creating a Sitecore MVC site for a client and I need to create page that will list news articles for the company.
So far, I have created items that use a shared data template called “Article,” and I also have a sublayout (a view rendering) called “Article” that will display these items.
For the list itself, my plan was to create another component (a sublayout) call “News_List”, and to put a placeholder in it called “List”.
My question is this: can I allow the author to insert articles (e.g., N items of type “Article”) into this placeholder via the page editor?
Will SC allow you to insert multiple instances of the same component into a placeholder? Will this break anything?
I believe this is a pretty common question but I have not found a definitive answer. Thanks in advance…!
You can insert as many components (of the same type) in your placeholder as you want.. Just make sure to put the placeholder settings correctly and give it a decent name (not just "list" ;))
But are you sure you want to do this? Your editors will manually need to create a list of components for each article they want to add on the page. Doesn't sound to be very user (editor) friendly.. Maybe you should consider creating a list component that can get a list of articles as a datasource and show those. Or even select them automatically (but that might be not according to your business case)..
Yes, authors can add multiple instances of the same component into a single placeholder.
Assuming that the code of the component doesn't do any stupid things it's absolutely ok to do this.

How to I combine Page-views for a URL when they have different query strings in Google Analytics?

I am trying to do some reporting on page views on a site and the results are being listed like the following:
www.example.com/directory/ - 100 views
www.example.com/directory/?id=123456 - 10 views
www.example.com/directory/?id=987654 - 5 views
What filter do I need to create to views the results as:
www.example.com/directory/ - 100 views
www.example.com/directory/?id=* - 15 views
Thanks in advance
Yes, getting historical grouped together is going to mean using something like Google Docs, Excel, Tableau Software, Analytics Canvas, etc.
Moving forward...
One of the simplest ways of keeping things grouped in GA is to set up an advanced profile filter. You'll want to use this with a new profile; keeping a "raw" or "empty" profile is highly advisable for when you actually want to look at those individual URLs.
That said, here's a filter pattern that should work for you:
Go to Admin > Filters (under the View Column)
+ New Filter > Create new Filter > Name it
Filter Type = Custom filter > Advanced
Here's the pattern:
Field A: www\.example\.com\/directory\/\?id=.+
Output To: www\.example\.com\/directory\/\?id=\*
Another way to aggregate the same URI with multiple query strings is to change the primary dimension to 'Page Title' under Behavior > Site Content > All Pages.
The best way to do this for your historical data is unfortunately in an excel pivot table. You can get in in the UI, but only by creating a custom report and searching for very specific directories.
Check out the documentation on excluding query strings in your GA profile. Maybe create a new profile and write an advanced rule to rewrite all "id" pages to "/directory/product-page".
A totally different approach is to use custom variables or custom dimensions and to stop looking in the normal "Behavior" reports section (used to be called "Content" in GA) – custom dims are available using Google Analytics Universal Analytics only, which means starting a new web property and possibly running both code snippets concurrently (totally safe to do).
Personally I find custom dimensions a bit easier to work with than custom variables, and I generally think that it's a good idea to start exploring the new Google Analytics.
The nice thing about either of these approaches is that you can still keep the full page path date in the same profile as your custom dimension / variables information; it'll stay in the Behavior section where it belongs with all the other page paths.
Where I'm going with this...
You can create a new dimension such as "page type" and then call it "products", "posts", "articles", or whatever these id #s represent in this /directory/; then you can look at metrics across the dimension like pageviews, time on page, etc. by page type.
You can even create other dimensions to help describe them in more detail, such as breaking down blog posts or products into their different categories; i.e. hierarchical dimensions. Once you start using this kind of thing you may wonder what you ever did without it!
I think it's fair that I stop this answer now since it's not about how to set up custom variables or custom dimensions; those links should get you started (it's really not difficult).
Note: You can use php to fill in the dimension information in the GA tracking snippet dynamically based on the page that is being viewed (again, that's another question).

Word templates populated automatically from list fields from a SharePoint custom list?

Is it possible to automatically create Word documents which include list fields from a custom SharePoint list?
here is the scenario: - custom list (over 100 columns) - Word templates (not sure where is best to store them yet) - Entry Form will provide data for the templates (or partial data, ie Client name, Sales Rep) - a form that will have buttons (ie 'Create Order Form', 'Create PO')
the idea is to be able to generate partial populated templates from a custom list with a puch of a button.
Sorry to sound like a commercial :) but the company I work for has a product that allows you to do that: OfficeWriter SharePoint integration and in specific the SharePoint developers section. You can see some samples in there of similar things.
Good luck!
sure you want it in Word?, Excel is more often misused for this (make some connection i tihnk odbc or so).