Sorry something went wrong error while try to create new list view - sharepoint-2013

Recently i tried to open List settings page in SharePoint 2013 but it is throwing Sorry some thing went wrong- unexpected error for a specific list,For remaining lists its working fine.
I tried to crate new list view it has showing Web part error. Then onwords i'm unable to create new views and modify views as well as List settings page also throwing error
https://i.stack.imgur.com/hG52a.png
https://i.stack.imgur.com/EWviy.png

Do you have any lookup columns on that list?
this error could be thrown for several reasons,
1-a list is created from a saved template, if yes then make sure any lookup column you got in there is linked correctly else you need to re-link that column.
2-a list got a lookup columns inside it and the target list has been deleted then you need
to re-link your lookup column to a different list or delete that lookup column from it.
if nothing of the above try to post here a snapshot of your columns for a better inspection.

Related

Missing SiteColumn in Document Library

I have a Content Type with a number of Site Columns inside it.
I added this content type to a Document Library, however, one of the site columns is not appearing.
I'm using SharePoint on premise - the site columns and content type should have been properly created as it even works fine for some other document libraries.. I only have the problem, with exactly the same content types, in some document libraries... Can it be fixed without having to re-create document library?
I have tried removing and re-adding the column but nothing seems to work. Any ideas?
I solved this by removing the site column from the content type, deleting the site column, re-creating the site column and readding it to the content type. This solved the issue of the missing field in the list settings of the document library for me. The only issue with this is that the internal name now changed to whatever it was and a 0 in the end, so i will have to update all code and workflow references accordingly.

Sitecore 7.2 Content Editor: Long loading time when clicking on an item

Suddenly when I click on an item of a specific template, I get a loading time of minute until the item is loaded. This only happens for items based on this specific template. All other items based on other templates load fine and quick.
I found out that the same loading time happens when I click on the standard values of the template. Deleting the standard values didn't solve this.
Strangely this only happens on the staging system, not on my dev system.
In the Firefox network analysis I found this entry, that takes so long to load:
http://sc_instance/sitecore/shell/Applications/Content Editor.aspx?ic=People/16x16/cubes_blue.png&he=Content Editor&cl=0
Any idea what might be the cause for this?
This might look like it is related to the corrupt sitecore template item. Have you tried to,
re create the same template and create a new item using that template and see how it works ?
If it works normally than your template item is corrupted. Also check sitecore log files and there you will find more information related to this issue .
Thanks,
Hiral
I found the cause of the long loading times when clicking on an item based on the specific template. In the template there is a multilist field with a query over a folder and subfolders in its source field, that gets all items based on a template ID to be shown in the multilist field. Once I got rid of the subfolders and changed the query to a simple /sitecore/content/... call the loading times got normal again.
What is strange is that the query in the source field didn't cause this for months.

Need to add primary and foreign keys to a column postgresql 9.3.2 using phpPgAdmin

My apologies if this is a question with an obvious answer- but I am recovering from the lingering effects of a car accident, and still working to regain some of the things I used to know.
I've got a django application that uses a PostgreSQL database indexed by Xapian, and while I was in recovery, one of the columns in an empty table somehow got dropped. When I returned to work, I found that running ./manage.py rebuild_index failed because it was expecting the missing column and couldn't find it.
To make the repair a little easier (I hope) I installed phpPgAdmin. There's no problem connecting to the database, and I was able to add the missing column through the interface. After that, the Xapian index was able to rebuild with no errors, but the table is still not functioning correctly.
I had hoped that the application would apply the primary and foreign keys once tested, but I am still seeing this in the phpPgAdmin interface:
(Screen snip of the columns involved)
As shown in the link, the key icons in the top column are not replicated in the bottom column. I'm fairly certain I can add them with ALTER TABLE, but if there is a way to do it in the context of the phpPgAdmin interface, I'd like to learn how to do it. I just can't find any way to do it.
Any advice?

Limit items on external list using BCS Filter

I have an external list which I want to filter without user input but try as I might I cannot see a solution??
In my list I have a series of names and an archive flag, I want to show the names in a picker where the archive flag is set to false which I thought would be simply a case of setting a default value on a filter but no matter what I do. The filter will not work unless there is a user added value
grateful for some advice as I am slowly going cuckoo
I am using on prem SP2013 with the BCS set to a SQL 2012 database
If you are creating the External Content Type from SharePoint designer you can assign a default static value and even create a more complex filter with variables. Be aware that if you are creating filters they can be wrong and you need to manually edit the *.ect file. I have an article in my blog about that, unfortunately it is in Swedish and about ODATA as the datasource, but the principle is the same. Perhaps Goog... translate is able to help you a bit on your way: https://itgeneralisten.wordpress.com/2015/03/10/sharepoint-hosted-app-odata-och-filter/

playing with SharePoint 2013 Lists Views and Schema

need to know how to get SharePoint List specific View among my Custom List Views or to modify a SharePoint List Schema... I explain :
Before i start i need to tell you that my need here is to have a list exactly like Discussion Board List just i need to modify its New/Edit forms. So i have 2 important creterias that i need to have :
1/Ii need to be able to acess the schema.xml file to add my custom New/edit forms to the list
2/ Or i need to be able to get the default View of Discussion Board List (the one with reply button and like etc...)
So, here are my Problems:
If i create a custom list (from Visual Studio) and i make it based on Discussion Content Type, Condition 1 is satisfied e.g. i can have a schema.xml File in where i can modify to put my Custom Edit/New forms BUT my list is being displayed not the way i want to (like described in Point 2) it is diplayed in rows and columns (no reply button etc...)
If i create a custom list (from Visual Studio again) based on Discussion Board list template, it is displayed (its Default View) just like i want to (as described in point 2) but in Visual Studio i only have a list instance, i don't have access to its Schema.xml where i can put links to my custom New/Edit forms.
I tried too many things; I tried to provision the Views programmatically just like in this : Thread but none helped me.
The last thing i tried is to take the desired view from SharePoint Discussion Lists (found its schema.xml in 15 hive) and i tried to integrate in my custom List, but i No relevant results...
So, in summary i need either to be able to import View from List to List or to be able to modify Schema.xml of SharePoint Lists that are based on specific list template (in my case Discussion Board template)
Any help will be welcome