Document Set NewDocSet.aspx HTML Field - sharepoint

If we have a document set content type containing a 'publishing HTML' column type, then when creating a new document set (NewDocSet.aspx) there is no ribbon loaded thus no richt text HTML editor box is shown for the 'publishing HTML' column.
Is it possible to load the ribbon and RTE functionality via JavaScript?

I fixed this by just using a custom application page form and adding the RTE textbox as SharePoint control

Related

Sharepoint Document list edit

Is there anyway to edit a column in a document library? directly from the list view? So in Review Completed column below, just toggle the value rather than clicking on edit?
I noticed this is a modern page, you may have a try Field Customizer extension.
Below is a sample:
React Toggle Field Customizer

How to conditionally format (i.e. highlighting) cell contents depending on the word that appear in MS Word

I have created a list in SharePoint that creates a word document from a template in a document library. The 'Status' of the project is either green, yellow, or red. How the heck can I change the highlighting of the word that appears in the cell depending on which word appears?
If I understand correctly you want to highlight column values in document library list view and your field 'Status' exists in this document library and its value set in MS Word created from template. If it is your case then good choice to use CSR (Client Side Rendering).
This is javascript code that can be added by different ways:
1. You can add Content Editor (or Script Editor) Web Part with this CSR javascript to document library list view page and your column will be highlighted.
2. You can programmatically add JSLink to CSR javascript code to specific column. Each field object has JSLink property. See SP.Field.jsLink in sp.js.
https://msdn.microsoft.com/en-us/library/office/jj244927.aspx
3. You can open list view web part settings on document library list view page and in Miscellanious section set JSLink property to url of CSR javascript file.
CSR javascript file you can locate in some library, ex.Style Library or Site Assets.
CSR allow to change view, column rendering logic.
This links will be helpful for you:
https://sharepoint.stackexchange.com/questions/114097/csr-coloured-colum
https://social.technet.microsoft.com/Forums/en-US/599db8b2-0d5d-4f82-bffc-06a8215e2454/jslink-color-code-background-entire-cell?forum=sharepointcustomization

Retrieve column value in xpages view

I have a view control showing documents with an external url in document fieldA.
How can I write a onclick Event to open this URL?
Thanks for help.
In your view column choose a content type of HTML.
In your view add a column that formats the link using the tag. Make this column hidden in the Notes client (if you use it there). Then show this view column in your view control with the content type set to HTML.
Because you are using HTML, you don't need to have an onClick event per say, although the effect is the same.

Send Selected File Information to SharePoint Form in Dialog Box

I currently have a custom button in my SharePoint 2013 ribbon which should open a dialog box with a form. The button is only enabled when two or more files are selected. I would like to know how to send information about the selected files to the form.
You can send the selected files/item information to the form using query string parameters.
When u add custom action, in element.xml there is CommanUIHandler element in which you can define tokens as query string parameters to be replaced when custom action is clicked.
{SelectedItemId} and {ItemId} tokens can be your use.
Refer http://msdn.microsoft.com/en-us//library/ff458385.aspx

Attach Sharepoint 2010 List attachment to gridview

I have a SharePoint list, which has attachments!!
I am using a custom grid-view to display some selected List fields from the list.
I would like to include the attachment as an embedded document in the Grid-view, Is that possible?
Got it worked, Created an anchor type item template in grid view.
And the Href property of the anchor tab is binded with the attachment retrieved pro grammatically. Working great!!

Resources