New answers tagged

0

Try below code. It should work. I have modified your code little bit. I suspect you are not using SharePoint Master Page in your custom form. So you will not get request digest vakue directly through $("#__REQUESTDIGEST").val() as it is available only in SharePoint Master Pages. So You will have to get it first by POST call to "_api/contextinfo" $(...


0

I suggest achieve this with workflow. Whenever a new item add, the workflow will be triggered. The workflow will get the item with ranking=5 and then compare the timestamp. If new item have a smaller value it become the 5th and the original 5th become 6th, etc. If you apply this logic, you don't need the ranking column, you only need to recognize which item ...


0

If you are using modern layout you could use view formatting: { "$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json", "additionalRowClass": "=if(@rowIndex < 5 ,'sp-field-severity--severeWarning','')" } Details available here: https://github.com/SharePoint/sp-dev-docs/blob/master/docs/declarative-customization/view-...


0

Turns out that in ListTemplate element, Type attribute value was set to a number greater than 10,000,000 in the Elements.xml for list definition. I reduced the value and error wasn't present any more. For future reference, this must be obeyed: BaseType + Type * 256 < 2^31 - 1 This means if BaseType == 0, Type must be less than 8,388,607. Additional ...


0

You could update the column Course1_Timestamp_Flow to the current time when the field Course1 is yes like this:


1

Keep in mind that modifying an item will then cause your "when an item is created or modified" trigger to fire. So each time you add an item, it triggers the flow, which modified the item, which triggers the flow, which modified the item, etc. Perhaps add another yes/no field to track if the item was modified by your flow, and add a condition to modify the ...


1

First thing is you don't need Get item action, you already have ID of current item from Trigger point 'When item is created and modified'. I just tested it and it is working as intended, only updating one item. Please check, if there is not other workflow which is running for all the items. Check your workflow ran history, how many flow runs you see? Also ...


0

You can use the below class to format the dropdown. .ms-core-menu-list for the div of dropdown .ms-core-menu-link - for the links inside the dropdown Here is the demo.


0

If we use list validate settings to prevent modifying fields, it will affect both create new item and edit item. If you use classic experience in SharePoint Online, as an alternative, you can use SharePoint Designer, create a new custom edit form and set it as default, then find the relevant field and change the "ControlMode" property from "Edit" to "...


Top 50 recent answers are included