How can I get subFloder's items displayed on PowerApps? - sharepoint

I'd like to have content in sharepoint's sub-folder to be displayed on PowerApps Gallery,
I tried
"Items = ClearCollect(testDoc,Filter(Documents,'Folder path'="Documents/General/Use Cases and similar activities/A-EMA/"))"
But it doesn't work.
Nothing displayed but only warnings.
here is the pic of what I'd like to show in my gallery.
enter image description here
Thank you in advance

First: Connect your Sharepoint Site to PowerApps
Second: Set up a Variable to avoid Delegation Issues and get aTable
Set(docs;Dokuments)
Third: Put the following code into items of your Gallery.
Filter(
docs;
IsFolder = false && Path = "Freigegebene Dokumente/Subfolder1/Subfolder2/")
Dependent on your language change 'IsFolder' to 'Istordner' and 'Path' to 'Ordnerpfad'.
it is working fine with me, but my folder names are all without spaces, so if you still encounter problems, please try to change your folder names

Related

SharePoint Office365 - How to Copy a List?

I'm setting up some SharePoint Lists in Office365. I've got one list set up just the way I want it and I want to create a new list which is almost exactly the same. I remember (way back when) I last worked with SharePoint about 6 years ago, you could copy a list to another list type but I can't seem to find this option.
I have looked around the Internet but so far, all the answers I have found have suggested using an 'Export List as Template' button in List Settings but I don't have this button.
My settings look like this
Is there a feature that I need to switch on to get this? This feels like it should be very easy...
If you don't see "Save this list as a template", check that Custom Scripts is not disabled in your SharePoint Admin settings.
Alternatively, I have been able to use other lists as templated by going to Site Contents in the Modern UI, select New > List and you should be presented with options to "Create a list" or "From an existing list"
see Create list window
From the Site Content Select New and then select List. This will open a another screen where you need to select From an existing list as shown below:
If you need to get list as Template, follow this steps.
Go to the Site Contents
Right Click on the List that you need to get template.
Click on the Settings
Then there is that option like image below.

New site column not displaying in SPF2010

After much trials-and-errors, I've managed to find how to add new columns in Site Pages of our Sharepoint Foundation 2010.
I'll explain using a field called "Category" I created. The problem I have now is that the only way to add or edit my page categories is to first create a new page, enter its title when asked by the pop-up, enter the content of the page, saving, and then going back in to the page properties. That's the only place I'm seeing my new "category" field.
I've set the field as "required", so it's supposed to be filled, but it doesn't seem to matter.
Moreso, I'd like to see the categories of the page I'm looking at at the bottom, for example, but when I open a page I only see its title and content, nothing else.
Can someone help me understand how to manage this? I'm mostly on my own and SPF2010 is not very well documented for a newbie from what I've seen in my searches.
Thanks in advance.
Is your new column called Category part of your default View or whatever View that you are looking at?
Your question reminds me a precision I didn't wrote about:
In the "All Pages" View (if I understand Sharepoint correctly), which is like a list of all the pages of my site, I've managed to add columns for the new fields I've created.
My wish is to be able to enter data for these new fields at page creation, like when we enter the title of a new page, and/or when I go to edit its content.
Only place so far I found to edit my new fields is in the Page Properties, which requires the page to be created first, or in this "All Pages" View where I added my fields. I'd like to categorize my pages as I create them, which could save us lots of time since we're starting our documentation project and nothing has been done yet...

Go To Report action in SSRS 2008, Sharepoint Integrated mode doesn't do anything

I've created two reports in the same project, and the first report has an Action "Go To Report" in a tablix cell, to take it to this subreport I'll call SecondRpt.rdl. When I run it in BIDS, the action works fine. I deploy the reports to Sharepoint, and when I click on the cell, nothing happens, no err message or anything. I've read that the report name should have the ".rdl" appended, so tried that, still nothing. I've also tried putting in the folder path to the SecondRpt.rdl, again nothing happens. Is there a setting in Sharepoint that we've missed? I don't know anything about how Sharepoint is set up, but the admin will help if it's something on that side.
I've seen where I can accomplish the same objective if I use the Go To URL option, but this method seems much simpler to set up.
Any advice is appreciated.
Thanks!
sorry for the necro but:
I was having the same issue: everything works fine in BIDS but click on the cell after deployment and nothing happens. Tried adding the .rdl ext and still nothing.
The cell in question had a concatenation of 2 field values (item id + ":" + item desc)- once I moved the values in to seperate fields everything worked fine. :/

How to rename a list in Sharepoint

Is it possible to rename a list in Sharepoint 2007 using the web interface? I would like navigation url to change as well.
I have tried change the name using the settings option on the list. This will change the title but not the navigation url.
I had this same issue and I resolved it easily in SharePoint Designer. You have to go to All Files listing, find the list, right click and Rename. This will change the URL. You won't have this option if you go to the List & Libraries option, you have to go to the All Files one.
You cannot do this in the Web UI.
Also, another tip. If you need you have a need to name a list with spaces, but don't want the ugly %20 escape characters in the URL. Say you need to name your list Info Center. First create the list with no space: InfoCenter. Then go back and rename the Title only to Info Center. Now you will have the a nice readable list name, as well as no %20's in your URL.
I'm not sure that changing the url is possible through the web UI.
However, you could probably save the list as a template, include the content as part of that template, and then delete the list. Finally, apply the template to get a newly named (with new url) list.
You can definitely change the URL using SharePoint Designer.
I'm quite sure you can also do this programmatically.
The list will get the name you created it with so create the list and then set the localised name afterwards
if (site.Lists.Exists(Constants.MyListName, out myList))
{
myList.Description = Resources.My_Lists.My_List_Description;
logger.Write("List {0} already exists on site {1}", Constants.ListNames.MYLIST,site.Url);
}
else
{
Guid listGuid = site.Lists.Add(Constants.ListNames.MYLIST,
Resources.My_Lists.MyList_List_Description,
SPListTemplateType.DocumentLibrary);
myList = site.Lists.GetList(listGuid, false);
logger.Write("Created list {0} on site {1}", Constants.ListNames.MYLIST, site.Url);
}
myList.NoCrawl = true;
myList.Title = Resources.My_Lists.My_Inbox_List_DisplayName;
myList.EnableVersioning = true;
myList.EnableMinorVersions = false;
myList.Update();
When you then need the list you get it using the internal Name which will be the same name as in Constants.ListNames.MYLIST
list = (from SPList l in web.Lists
where l.RootFolder.Name.Equals(listInternalName, StringComparison.InvariantCulture)
select l).FirstOrDefault();
I think it is a good practice to stay away from the Display name see this article regarding problems with fields in Sharepoint
http://www.buro9.com/blog/2007/02/26/sharepoint-splistitem-quirks/
It looks like you can change the url in Windows Explorer. The library/list still exist and can be edited.
Sometimes, you start working with a list naming it as Beta list, test, site version 1 etc and then you realize that you need to change the name of the list. Here's the step by step procedure for changing the name:
Click "Site Actions" and select "Site Settings"
Under "Site Administration" select "site libraries and lists"
Select the list you want to customize
Under General Settings select "Title, description and navigation"
Edit the name and you are through.
This should not modify the hyper connections and various views of the list.
I'm new to Sharepoint, but I have successfully renamed a list. This is what I did:
Created a "Network Place", which is
actually a WebDAV location for the
site
Renamed the list in Windows Explorer
Removed/Added the "new" list to the
Quick Launch.
The URL is changed, as the old name is no longer valid.
Hope it helps.
The internal name for lists is pretty messy and killing it in code or by manipulating the files may break some custom web parts, workflows, or cause orphaning. For these reasons, I would leave the internal name alone rather than risk causing something to break in the name of vanity. If the client was requesting the change, however, I would save the template as Martin says and use that to rename your list.
Once you create a list or doc library, the url cannot be changed using the web interface - you're stuck with it unless you modify it using something like Powershell or SharePoint Designer.
I highly recommend making it a habit to initially create the lists/libraries with a shortened/clean url, then immediately renaming the lists/libraries to its "nice" name for everyone to read clearly.

SharePoint/MOSS - Deleting other people's un-checked-in items from a list

A simple scenario:
I want to delete a pagelayout that is out-dated from our MOSS publishing site.
An ex-colleague has created a new page using this page layout and he has not checked it in.
I can't delete the pagelayout because his file is referencing it.
I can't 'see' the file because it hasn't been checked in, to remove it.
I've tried SPFolder.Items, SPList.GetItemById(), couple of other object model methods. But SharePoint simply won't show that item to me.
I've even poked around SPList.GetItem(new SPQuery() { IncludeAllUserPermissions = true; })
Anyone know how to get rid of this item? :-)
Abs's answer lead us gave us the hint - hey how does the ManageCheckedOutFiles page see the files not yet checked-in by other users?
go to ~layouts/ManageCheckedOutFiles.aspx
inherits from Microsoft.SharePoint.ApplicationPages.ManageCheckedOutFilesPage
reflector 12\CONFIG\BIN\Microsoft.SharePoint.ApplicationPages.dll
in protected void PrepareContent() we read the key lines:
IList checkedOutFiles = this.CurrentList.CheckedOutFiles;
so back in our code
SPDocumentLibrary doclib = PublishingWeb.PagesList as SPDocumentLibrary;
foreach(var checkedoutfile in doclib.CheckedOutFiles)
{
checkedoutfile.TakeOverCheckOut();
var file = doclib.GetItemById(checkedoutfile.ListItemId);
file.CheckIn();
}
Thanks everyone :-)
If you are a site collection administrator, you can also force a check in of the other person's checked out file. The trick is that you have to know what library it's in. If you know that, you can navigate to that library, then do the following things:
Click on Settings -> Document Library Settings (or List Settings, I suppose)
Click on Manage checked out files in the Permissions and Management column
You should now see a list of checked out files, which you can select, then click on Take Ownership of Selection in the toolbar.
Once you've done that, you can check the file in yourself.
try SharePoint Sushi from codeplex.
Good luck.
First you should have administrator permissions over the site collection. Then:
Click on Site Actions, Manage Content and Structure.
Browse to the page layout you want to delete in the Master Page Gallery.
Place a tick next to the page layout you want to delete.
Click Show Related Resources.
This should let you see every page connected to that page layout.
Quick & easy non-SharePoint solution:
If it's an ex-coworker is there any possibility of asking for temporary use of his account with a new password so that you can login to the portal and check it back in or discard the check-in?

Resources