visual web element – Duplicate items in the custom list

I have a custom list on my SharePoint site and there is a web part that inserts items in that list. This implementation was working fine until recently, when we observed that duplicate elements are being generated.

Precisely, I noted that webpart is inserting only 1 element. however, 1 more identical article was generated after a brief interval of ~ 5 minutes.

The following are some more details to identify the cause:

  1. article count 172000

  2. Users on the site: ~ 2000

  3. Content database size: 200 GB

4: Environment: SP 2013 in Prem.

Thank you

SharePoint Online – PowerShell – The CSOM ExecuteQuery exception is missing the root element

I'm used to working with local SharePoint environments, but now I'm trying to accelerate with SharePoint Online. I can connect with my tenant using Connect-SPOService and use the standard SharePoint Online cmdlets, so my credentials work and the path seems to be in good condition for me.

However, I will need to use the greatest CSOM utility for the work I need to do. Initially, I've just tried to set up a simple PowerShell procedure to start going through some of the basics using CSOM with SharePoint Online. But I still have a problem with ClientContext.ExecuteQuery. It always fails with the error "missing the root element". I'm not sure if this is because the query has not recovered any data or anything related to my environment.

I currently have my own SharePoint tenant with some initial sites and lists. I am the only user and administrator. Everything is still very simple. I have installed and imported (using PSGallery) the following modules to configure my PS environment (and sessions). I think I've identified everything I need, but I may be missing something important.

            Name of the ModuleType version
---------- ------- ----
Binary 16.0.90 ... Microsoft.Online.SharePoint.PowerShell
Manifest Microsoft.PowerShell.Management
Manifest Microsoft.PowerShell.Security
Manifest Microsoft.PowerShell.Utility
Script 1.2 PSReadline
Script 1.0.0 SharePointOnline.CSOM
Binary 3.11.19 ... SharePointPnPPowerShellOnline
Script 2.1.6 SharePointSDK

I am working on Windows 10 with PowerShell 5.1 (running as Administrator). Everything is still very simple, but I can not pass the execution of the query to load the web context, so I can start trying to do additional things.

I have found many online examples of PowerShell / CSOM to connect to sites and establish context. I have tried them all (at least it seems that yes), but until now nothing has worked. I can not find anything else to try or additional diagnostic steps to take. So I would appreciate any suggestions at this point.

Here is a PS session record of one of my tests with the error message at the end …

PS C:> $ LibPath = "C:  Program Files  WindowsPowerShell  Modules  SharePointOnline.CSOM  1.0.0"
PS C:>[System.Reflection.Assembly]:: LoadFile ("$ LibPath  Microsoft.SharePoint.Client.dll")
Location of the GAC version
--- ------- --------
False v4.0.30319 C:  Program Files  WindowsPowerShell  Modules  SharePointOnline.CSOM  1.0.0  Microsoft.SharePoint.Cl ...

PS C:>[System.Reflection.Assembly]:: LoadFile ("$ LibPath  Microsoft.SharePoint.Client.Runtime.dll")
Location of the GAC version
--- ------- --------
False v4.0.30319 C:  Program Files  WindowsPowerShell  Modules  SharePointOnline.CSOM  1.0.0  Microsoft.SharePoint.Cl ...

PS C:>[System.Reflection.Assembly]:: LoadFile ("$ LibPath  Microsoft.SharePoint.Client.UserProfiles.dll")
Location of the GAC version
--- ------- --------
False v4.0.30319 C:  Program Files  WindowsPowerShell  Modules  SharePointOnline.CSOM  1.0.0  Microsoft.SharePoint.Cl ...

PS C:>
PS C:> # test simple connection test
PS C:> Write-Host "Start connection test ..."
Start connection test ...

PS C:>
PS C:> $ UserName = ""
PS C:> $ SiteUrl = ""
PS C:> $ ctx = New object Microsoft.SharePoint.Client.ClientContext ($ SiteUrl)
PS C:>
PS C:> $ pwd = Read-Host -Prompt "Enter password" -AsSecureString
Enter the password: **********
PS C:> $ securePwd = ConvertTo-SecureString $ pwd -AsPlainText -Force
PS C:>
PS C:> $ Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials ($ UserName, $ securePwd)
PS C:>
PS C:> $ ctx.credentials = $ Cred
PS C:> if (! $ Ctx.ServerOjectIsNull.Value)
Write-Host "Connected to $ SiteUrl" -ForegroundColor Green
Connected to

PS C:>
PS C:> $ web = $ ctx.Web
PS C:> Write-Host "Context is $ ctx"
The context is Microsoft.SharePoint.Client.ClientContext

PS C:> Write-Host "Web is $ web"
Web is Microsoft.SharePoint.Client.Web

PS C:> $ ctx.Load ($ web)
PS C:> $ ctx.ExecuteQuery ()

** Exception that calls "ExecuteQuery" with "0" argument (s): "The root element is missing".
Online: 1 char: 1
+ $ ctx.ExecuteQuery ()
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo: NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId: XmlException **

Live streaming of http: Gstreamer with HLS and Kinesis Video Stream SDK: WARNING: Erroneous channeling: there is no source element for URI

I have this public stream from Apple:

It has the following content:

# EXT-X-STREAM-INF: program ID = 1, BANDWIDTH = 688301
# EXT-X-STREAM-INF: Program ID = 1, BANDWIDTH = 165135
# EXT-X-STREAM-INF: Program ID = 1, BANDWIDTH = 262346
# EXT-X-STREAM-INF: program ID = 1, BANDWIDTH = 481677
# EXT-X-STREAM-INF: program ID = 1, BANDWIDTH = 1927853
# EXT-X-STREAM-INF: program ID = 1, BANDWIDTH = 2650941
# EXT-X-STREAM-INF: Program ID = 1, BANDWIDTH = 3477293

Now I want to create a Kinesis Video Stream producer. I start by creating a new instance of AWS Linux 2 EC2. I am booting these instances with the following script:

I had no luck with the ./install-script -a -d -j $ MAX_NUM_PARALLEL command specified in the install-script-ami case file. The elimination of -a in the following way I did it for myself: ./install-script -d -j $ MAX_NUM_PARALLEL. When I executed this, it stirred for 10 minutes and then failed. The repair here was to install c ++ with:

yum install gcc-c ++

So I went back to execute the installation script and continued where he left off. After another 20 minutes or so, the installation is complete and I receive this message:

[100%]    Goal created kvs_producer_plugin_rtsp_demo
********************************************** * ********
Success in the construction of the Kinesis SDK Video Streams Producer!
********************************************** * ********
Now you can configure the environment variables before running the sample applications
running the font
In addition, you may want to add to the following environment variables to configure it permanently
in /root/.bashrc or /root/.bash_profile or /root/.zshrc

Finally, I put the envars:


Now I'm finally going to try to read the HLS Stream with …

gst-launch-1.0! hlsdemux! tsdemux! queue video / x-h264! h264parse! qtmux! the file
WARNING: erroneous pipeline: there is no source element for URI ""

This is when I receive the WARNING. At this point, I'm very close, but stuck. Ultimately I want to execute this command:

gst-launch-1.0 $ STREAM_URL! hlsdemux! tsdemux! queue video / x-h264! kvssink stream-name = $ STREAM_NAME storage-size = 512 access-key = $ AWS_ACCESS_KEY_ID secret-key = $ AWS_SECRET_ACCESS_KEY aws-region = "us-east-1"

What am I doing wrong here? Because I'm getting WARNING: erroneous pipeline: no source element for URI Warnings for each HLS URL that I use?

javascript – How to make an element wait to display its content after being updated with a query?

I encounter the following problem:
I have an element , but unfold the list before the content is updated and I must perform a second click so that it already shows the updated content.

What I would like is that the list be displayed updated from the first click.

I also have the problem that the content is updated in the click initial that displays the list as well as in the click which selects the option … and the latter is left over.

I have the following …

The element

The following listeners are activated after loading the page

        // Events that control the selection and view of comments
  const $ UserCommentsSelectorTab = document.getElementById (
  if ($ UserCommentsSelectorTab) {
    // Update list items to each click
    $ UserCommentsSelectorTab.addEventListener ('click', refreshCommentsList);
    // Shows selected content
    $ UserCommentsSelectorTab.addEventListener ('change', viewComment);

An event click on the element executes the following function that performs a search in the database and with the result enters the elements in Update other elements of the view showing the information.

/ ** Shows the selected comment * /
function viewComment (event) {
  const $ title_box = document.getElementById ('comment-title');
  const $ text_box = document.getElementById ('text-comment-box');
  const $ tags_box = document.getElementById ('tags-comment-box');

  const comment = JSON.parse (event.currentTarget.value);

  // Title
  $ title_box.innerText = `$ {} - $ {comment.user}`;

  // Text
  $ text_box.innerText = comment.text;

  // Tags
  const tags = comment.tags.split (',');
  let tagsTemplate = '';
  tags.forEach ((element) => {
    tagsTemplate + = `$ {element}  `;
  $ tags_box.innerHTML = tagsTemplate;

algorithms: if the insertion / removal of a binary tree is efficient, while maintaining the ability to obtain an element by index

I can not understand this. Let's say you have a binary tree where the nodes on the left or right correspond to 0 or 1 and a group of levels forms a string that is the index of the node. So you have 10010, which is 18 in decimal, so index 18 (let's say we count from 1 instead of 0).

0 1
0 1 0 1
0 1

We build a binary tree / trie. I'm trying to figure out if you can delete and add nodes to the list without having to rewrite the full subbranch to the right of where it inserts or deletes, or if there is a simple operation of a few steps to somehow rotate the branch type of insert / delete tree in such a way that it does not to have To rewrite a large part of the tree. The reason is that you want to maintain the position of the nodes, so if you have nodes in positions 6, 7 and 8, if you delete node 4, they will become positions 5, 6, 7. Do you get this for free? somehow, or do you have to rewrite all the positions in the tree? I can not see what it would look like, wondering if one could explain how it would work.

sharepoint enterprise: the web element Script Editor does not allow me to insert code (or cancel)

Every time I paste the following code into the script editor, instead of allowing me to click "insert", the entire window changes to the output of my script. There is no way to circumnavigate this without leaving the page; see the following error:

Error that occurs

For clarity, I have posted my code below (it's a countdown clock, until a specific date).

    APRA countdown

APRA countdown
two 3 5 7
Days Hours Minutes Seconds

It is no longer possible to access the Data Source Details when creating an empty data view web element with Sharepoint Designer

Using SharePoint Designer 2013 I can no longer access a list data source
in SharePoint Online when building a DVWP

Steps to reproduce.

  1. In SPD create a new page of web elements.
  2. Edit the new page in advanced mode.
  3. Place the cursor on the ZoneTemplate tag.
  4. Click Insert -> Data View -> View empty data.
  5. Place the cursor on the new created DataSources tag.
  6. Click Insert -> Data Source -> and select a list.
  7. In the data source panel, click update link Data source

The server returned a non-specific error when trying to get data
of the data source. Check the format and content of your
consult and try again. If the problem persists, contact the server.

He ran a violinist session.
get 500 answer in.

soap: ServerException of type & # 39; Microsoft.SharePoint.SoapServer.SoapServerException & # 39; was launched. There was an error.

He also tried to update a data source in an existing DVWP with the same result.

Is anyone experiencing this problem?

It started within the past week

animated: new in animate.css, when trying that the element has two animations, it will not work nevertheless :(

& # 39; & # 39; & # 39; HTML

    WACK and mdash; Canvas



& # 39; & # 39; & # 39; css
* {
Height: 100%;
margin: 0;
filling: 0;

.envase {
width: 100%;
height: 100vh;
screen: bending;
alignment elements: center;
justify-content: center;
animation: colchange 5s;
animation timing function: ease of exit;
animation-delay: 0;
animation-direction: alternate;
animation-iteration-count: infinite;
animation fill mode: none;
animation-play-state: run;

@keyframes colchange {
0% {
background color: rgb (216, 121, 77);

        fifty% {
background color: rgb (0, 255, 217);

100% {
background color: rgb (66, 68, 113);


P {
Font family: OpenSans;
Font size: 3rem;

.animated.fadeOutDownBig {
animation-duration: 10s;
animation-delay: 6s;
animation-iteration-count: infinite;
.animated.swing {
animation-duration: 10s;
animation-delay: 3s;
animation-iteration-count: infinite;

Geometry ag.algebraica – Annihilator of an element and radical of Jacobson.

Leave $ R $ be a commutative ring with 1. Is there any characterization for an element? $ a $ of $ R $ such that $ ann (1-a) subseteq J (R) $, where $ ann (x): = {r in R mid rx = 0 } $ for $ x in R $ Y $ J (R) $ is Jacobson's radical of $ R $ (the intersection of all the maximum ideals of $ R $).

I would appreciate any comments you may have.

hide element in json with ajax, javascript

I have the next part of an array of more values

  "name": "karl",
  "age": 50,
  "Numbers": [],
  "references": [
      "fullname": "john W"
      "fullname": "chris b"

I need to obtain or show the numbers and references when they exist, they do not exist at all, some have both the number and the references, since they are several.
Thank you.