JSON column formatting – reference column not in view

Hi we have Sharepoint online site using old template and switched list to use modern experience.

Problem is with JSON formatting, because some things do not work as expected.

  1. Unable to use/reference any site column in fashion [$ CustomColumnName] which are not used in the view. Error given is: Failure: CustomColumnName was not found on the data object.

  2. Referencing column [$ ID] gives two possible errors: empty like there is no data or Failure: Cannot read property ‘valueOf’ of null

I have tested out of the box examples from Microsoft site and many more and the behaviour is the same.

Does it have to do something that the site is not completely on modern design? Did you experienced this? Thanks

Linking also the same issue somebody else created, I have same behaviour. https://github.com/SharePoint/sp-dev-column-formatting/issues/19

What value of reference RMSD after docking simulation from any starting coordinate would be considered outrageous to have?

I need to lightly verify a set of docking simulations from the reference RMSD of the outputs, and as we all know reference RMSD depends on the initial coordinates of the ligand set. What value of reference RMSD after docking from any starting coordinate would be considered outrageous to have?

The located assembly’s manifest definition does not match the assembly reference

Después de crear un Banco de Datos en el Microsoft SQL Server, estoy intentado hacer la Ingeniería Reversa con una aplicación ASP.NET Core (Aplicación web MVC) en el Visual Studio.

Por defecto ya está instalado los paquetes *Microsoft.AspNetCore.App (3.00) * y el Microsoft.NetCore.App (3.00)

Puse también el Microsoft.EntityFramework.SqlServer (3.00) y el Microsoft.EntityFrameworkCore.Tools (3.00)

Todos en sus últimas versiones (septiembre de 2019), incluso el SDK es 3.0.100 preview 009812 y el ASP.NET Core es el 3.0.

El ERROR

En la Consola del Administrador de paquetes NUGET busqué el servidor con Autenticación de Windows:

Scaffold-DbContext “Server=NombreServidor;Database=nombreDB;Trusted_Connection=True;” Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

Pero el mensaje de retorno es

Could not load file or assembly ‘netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

No he encontrado una solución hasta ahora. Ya eché un vistazo en la localización, hice el BD de nuevo, inicié un proyecto nuevo outras veces, he instalado algunas librerías, el FrameWork Design, etc y hasta ahora nada. ¿Alguna sugerencia? Muy Amable.

NullReferenceException in SPRequest: Object reference not set to an instance of an object

I have a custom SharePoint timer job definition for SharePoint 2010. In this timer job definition, I am creating the SPSite object (inside the using statement) and then iterating through every sub site using below loop.

foreach (SPWeb web in rootWeb.Webs){}

In side the loop, I am adding multiple items to a custom list. Randomly, item creation is failing with below errors in hive logs.

NullReferenceException in SPRequest: Object reference not set to an instance of an object. at Microsoft.SharePoint.Library.SPRequest.SetVar(String bstrUrl, String bstrName, String bstrValue)

NullReferenceException in SPRequest: Object reference not set to an instance of an object. at Microsoft.SharePoint.Library.SPRequest.ClearAllVars(String bstrUrl)

For every such Null Reference Exception for OWSTIMER.EXE, one or more below w3wp.exe exceptions are coming and I am not sure what is causing this but it seems like it is effecting my timer job code. Is it a good practice to create items in a loop like I have described above?

An SPRequest object was not disposed before the end of this thread. To avoid wasting system resources, dispose of this object or its parent (such as an SPSite or SPWeb) as soon as you are done using it. This object will now be disposed. Allocation Id: {6F311C83-F607-4B16-9173-67858B4CDB70} To determine where this object was allocated, set Microsoft.SharePoint.Administration.SPWebService.ContentService.CollectSPRequestAllocationCallStacks = true.

Thanks

CWE-611: Improper Restriction of XML External Entity Reference with XSL include

Veracode reports that the below code is susceptible to CWE-611: Improper Restriction of XML External Entity Reference.

XslCompiledTransform transform = new XslCompiledTransform(); transform.Load(xslwithospath); StringWriter results = new StringWriter(); using (XmlReader reader = XmlReader.Create(new StringReader(xml))) 

Unfortunately I can’t set the XMLResolver to null because the XSLT uses an include

<xsl:include href="localfileNameWithoutPath"/> 

Is the only resolution to rewrite the XSLT so that it does not have XSL includes, and then set the resolver to null?

Adding a content editor web part (which reference a .txt file) will break my list view inside mobile devices

I am working on a SharePoint 2013, and i have a team site collection which have the mobile browser view feature enabled. now inside the team site i have around 10 lists which are working well when accessed from mobile devices. except for one list view which i have edited its page (from setting >> Edit Page), and i add a content Editor web part which reference a .txt file. the .txt file have the following HTML:-

<img src="/Resources/Matrix.png" alt="Risk Matrix" style="width:854px;height:258px;">  

enter image description here

Now the list view page which is referencing the above content editor, will have the image added correctly inside non-mobile devices screens. but the problem is that when i access the list view from mobile devices i got the error:-

enter image description here

now if i remove the content editor web part the page will work well inside the mobile screens. so my question is how i can overcome this problem? i am thinking if any of these approaches can be achieved :-

  1. either to allow my content editor web part to work on mobile devices. in other words to force the image to be shown inside mobile screens .
  2. the other option is if i can force sharepoint to bypass the content editor web part on mobile devices.

seems strange to me as sharepoint 2013 claim that it is mobile supported,, and i am adding a built-in web part of type content editor,, so how come this is not not working on mobile devices ?? Thanks

EDIT

now here is the full table which i am rendering as an image:-

enter image description here

and here is how it will look like on mobile devices when i deactivate the mobile browser view feature:-

enter image description here

Potential Risks Using Reference Code Based Authentication For Web Based Application Form That Contains SSN [migrated]

I’m currently building a web based membership application form that will require a user to enter an SSN and other identifiable information. Part of the requirements of the membership application is to allow a user to be able to resume their application and pre-fill of the information they already entered into the form fields. The stakeholders do not want to burden the user with a username and password. We have come up with the following alternative authentication method.

A user can start an application and click a button to “Save” their application. When they click “Save” an email is sent to them and they receive a 6 character alpha numeric reference code.

To “resume” the application the user must then enter the 6 character reference code as well as their birth date, last name, and last four digits of their SSN.

My question is, on a scale of 1 to 10 what would the risk factor in allowing a user to authenticate in this manner. What is the probability that someone could load someone else’s application if they brute force attacked the web based form. And if the risk scale is high, then what can I do to increase the security on this form. I can’t implement a password system and the reference code needs to be simple enough that someone could over the phone present the code to a customer service agent.

Additional Security:

Reference Codes will expire after 1 week on non-use. Reference Codes will expire once the form has been submitted. The web application is using HTTPS and TLS to transfer the data.

About 200 applications will be submitted per week, so around a max of around 200 applications might have active reference codes in a given week.