Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

AddSPItem() unable to add data to sharepoint list #2809

Open
srinubhumadi opened this issue Nov 21, 2020 · 1 comment
Open

AddSPItem() unable to add data to sharepoint list #2809

srinubhumadi opened this issue Nov 21, 2020 · 1 comment

Comments

@srinubhumadi
Copy link

While adding the data to SharePoint List only alert is displaying as Added.But the data is not added to the SharePoint list.
There are no relevant console errors also.
Can anyone please suggest if any known isssue.


AddSPItem()
{

  pnp.sp.web.lists.getByTitle('profileList').items.add({        
    ProfileName : document.getElementById('ProfileName')["value"],    
    ProfileJob : document.getElementById('ProfileJob')["value"]  
     
 });

alert("Record with Profile Name : "+ document.getElementById('ProfileName')["value"] + " Added !");
}

@ghost
Copy link

ghost commented Nov 21, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Nov 21, 2020
@srinubhumadi srinubhumadi changed the title [BUG] AddSPItem() unable to add data to sharepoint list Nov 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant