I would to display in my .doc file, by a quickpart of an calculated field on Sharepoint.
For example, i have a column (calculated field) named "Ref" which get a value automatically. And i want to display the value of the column "Ref" in my word file.
is that possible?
Thank you
Yes this is possible. Add you document to the document library, open it using your word client and use the 'insert'-tab > Quickparts > Document properties and there you will find all list columns concerning your item.
More info: https://www.premierpointsolutions.com/training/help-and-how-to-articles/add-sharepoint-metadata-to-word-documents/
Apparantly, calculated fields are not available. You can solve this by adding a workflow and upon list creation, copying the calcultated field to a 'normal' text field. Then use that text field in your documents.
Related
In Modern Sharepoint I created a Document Library by New>Document Library and then uploading *.png files.
They are stored in a Column Name called Name (linked to document with edit menu). This can be seen in Settings>Edit View
Now I want to create a Calculated Column to calculate the last character before the .png in the filename which are in the Name Column.
I go to Add Column > More > Create Column and define Column Name and Type.
Then defining the formula but the Name column does not appear in the drop down list.
Any suggestions ?
thx
It's known case. We cannot use filename in calculated field. You could vote here: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/36029680-use-filename-in-calculated-field
As a workaround, you could use workflow /flow to make the Title field gets the filename. Then use title field in the calculated column.
In my dashboard, I would like for the user to have the option to filter a specific field by selecting an Execl/CSV file from their computer that has all the values for that field.
I am thinking that I can have a button that would prompt the user to select the file that contains all of these values. My problem is how would I have the dashboard read all these values and then filter the field that the values correspond to?
The short answer is - you can't
A bit of workaround is to to use the compound search to select multiple specified values in a field. For example if you have Country field which contains list of countries you can select more than one by start searching in the list box and paste the values you want to select in the following format: (Austria|Germany) In this case you should provide this list instead csv (if possible) and the user need to copy paste the search criteria.
Another possible solution is to have an Qlikview extension that can do the same for you. The extension will read the file and select the values.
Update:
Using the compound search and a bit of a variable logic might lead you to the same result. Please check this post for more info
I'm trying to make a view that will display possible duplicate documents. So a selection formula that compares one field over all the documents and only diplays those that are similar.
I ahve been playing arond with #Like and #Matches, but can't seem to get it to work. Is this possible?
Thanks
You can't reference from a view selection formula to other documents. The selection formula works only for the current document and decides if this document shall be visible in view.
You can write an agent which compares all documents with all the other documents and sets a flag (=item/field) to a document if it has similar fields with the other documents. You can then select all those flagged documents in your view.
You can create a view where the first (sorted) column contains the field you want to check against. Then use #SetViewInfo to filter the view to only show documents matching a specific value.
I would create two separate lists, and have the data entered in list 1 populate some of the data columns in table 2. Example: Request Name (single line of text), Description (Multi lines of text), Type of Request (Choice), and Completion Date (date).
When I go to the second list, I select 'Lookup', then 'Get information from:', select the first list, and all I see are "ID", "Content Type", "Version" and the "Title".
What do I need to do to get the columns from list 1 to appear in the 'Lookup' section of table 2?
The lookup field will only use text columns (regular text, calculated field with output type of text and computed columns that output text). You could probably fill out the additional fields by the means of a simple SharePoint Designer workflow that will run on item creation in the second list and fill out the columns.
I have been able to do this by creating a Feature with a custom List Definition using the FieldRef, JoinColName, JoinRowOrdinal, and JoinType attributes.
For more information, see SharePoint 2010: Set field value from query triggered by choice box selection.
I think programming will be needed you will have to use something like smartpart and create your own asp.net control that will read from database and show the data as you need it
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