Office 365 Sandbox Solution EventReceiver throwing Remote Exception in ItemAdding

Hi,
I created a sandbox webpart for O365 with EventReceivers with ItemAdding for Document Library and while i upload a document to library in O365  sharepoint site application throws below exception:-
System.Runtime.Remoting.RemotingException: Server encountered an internal error. For more information, turn off customErrors in the server's .config file.
Server stack trace: 
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.SharePoint.Administration.ISPUserCodeExecutionHostProxy.Execute(Type us
Same code works perfectly on my Development machine, Please help. Below is the Code
base.EventFiringEnabled = false;
bool isFile = (properties.AfterProperties["vti_filesize"] != null);
if (isFile == true)                   
SPWeb currentWeb = properties.OpenWeb();
// Get foldername from url like Document/EC10001/filename.txt                       
string folderName = properties.AfterUrl.Split(new char[] { '/' })[1];
SPList spList = currentWeb.Lists[properties.List.ID];                       
SPQuery spQuery = new SPQuery();                       
spQuery.Query = "<OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>";
//Getting the folder object from the list                       
SPFolder folder = spList.RootFolder.SubFolders[folderName];
//Set the Folder property                       
spQuery.Folder = folder;
int fileSequenceId = 0;                      
SPListItemCollection items = spList.GetItems(spQuery);
if (items.Count > 0)                       
string documentID = items[0]["DocumentID"] != null ? items[0]["DocumentID"].ToString() : string.Empty;
if (!string.IsNullOrEmpty(documentID))                           
string splitNumber = documentID.Split(new char[] { '-' })[1];                               
fileSequenceId = Convert.ToInt32(splitNumber) + 1;                           
else                           
properties.ErrorMessage = "Unable to generate Document Id";                               
properties.Cancel = true;                           
else                       
fileSequenceId = 1;                       
// Set DocumentID like EC10001-001                       
properties.AfterProperties["DocumentID"] = folderName + "-" + fileSequenceId.ToString(ConstantsList(currentWeb, "DocumentID"));      
// Retrive "EEC000" string from Constant List               
properties.AfterProperties["vti_title"] = folderName + "-" + fileSequenceId.ToString(ConstantsList(currentWeb, "DocumentID"));   
// Retrive "EEC000" string from Constant List                
base.EventFiringEnabled = true;
Thanks,
Pranay Chandra Sapa

Hi,
According to your description, my understanding is that when you upload document in Office 365 site, the event receiver in sandbox solution throws error.
Per my knowledge, if you want to use event receiver in Office 365 environment, you need to use remote event receiver instead the normal event receiver in an app.
Here are some detailed articles for your reference:
Create a remote event receiver in apps for SharePoint
Handle events in apps for SharePoint
Thanks
Best Regards
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Why constructor of rmi server throws remote exception

    why is it that the constructor of the class extending UnicastRemoteObject i.e rmi server has to throw RemoteException?

    Writing an RMI server is a matter of defining a class, exporting it when constructed and implementing one or more remote interfaces. How to export?
    auto export happens when u call super() in the constructor. It is then registered with the rmi system and made to listen to a TCP port. The various constructors for UnicatRemoteObject allow the derived classes to export at the default port.
    Because this automatic export step occurs at construction the constructors throw this exception.

  • Office 365 minimum licence required which is compatible with custom office 365 sharepoint solution deployment

    I have my custom office 365 sharepoint application. I want to deploy this application in office 365 accounts. Can you please suggest the minimum required office 365 plan that has an option to deploy custom office 365 apps.
    Also If a firm has multiple subscription plans, so is this possible to create two different sites for these different subscriptions. With this the user belongs to subscription 'a' will no be able to see site of other subscription 'b'.
    Any kind of help is highly appreciated. Please revert back asap.
    Thanks!!

    Hi Suruchi,
    This is the forum to discuss questions and feedback for Microsoft Office client. For Office 365
    licence/subscription related issues, I would suggest you to post in the dedicated forum of
    Office Community, where you can get more experienced responses:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Windows 8.1 Mail app does not sync with the Office 365 account

    My company has recently switched to Office 365. Windows 8.1 Metro Mail app does not work with Office365 account. When I switch to IMAP it works but that is soon going to be disabled and is not compliant with the company policy.
    I can add the account and it also pushes the security policies but it does not sync email at all. Says account is not available. The tablet shows up on the mobile devices on the office 365 and I could also remote wipe it.
    It seems everything works except basing email sync. What could be the issue?

    there's a bunch of reading here:
    http://blogs.technet.com/b/exchange/archive/2013/10/18/supporting-windows-mail-8-1-in-your-organization.aspx
    There might also be some useful discussions in the dedicated O365 forum:
    http://community.office365.com/en-us/forums/default.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Disabling AD Autodiscover while migrating to Office 365

    I'm in the middle of migrating from Exchange 2007 to Office 365.  I can autodiscover to the Office 365 service successfully in every instance except when I'm on a PC joined to the AD domain and the domain is accessible.  I have added a registry
    key on my test PC that keeps it from using the AD SCP to autodiscover but it still gets my Exchange server mailbox instead of the Office 365 mailbox even without using SCP.
    If I remove the PC from the domain, it works both locally and remotely so I know all my other settings are okay, it's only giving me this issue when it's a domain member and is running local to the AD domain.  Tried a laptop, joined it to the domain,
    took it home and let it autoconfigure, worked great.  Same laptop, when local to the domain, tries to autoconfigure using the local Exchange server settings.
    I'd like to give my users back their Outlook (rather than OWA) after I migrate them.  How do I prevent my locally deployed, AD-joined computers from getting autodiscover info from my local Exchange CAS server while I complete my migration to Office
    365?

    Hi,
    I ran into the same problem. I came up with a work around but I’m not sure this is the correct approach.
    First, with Outlook 2010 already installed I had to run the Set up and configure your Office desktop apps from Office 365. I’m not sure of all the configuration changes this makes but I know after you install it that it will allow
    you to change the username field when trying to authenticate to Office 365 (will get back to that in a minute)
    Second, from my domain joined computer where outlook was connected to my on premise exchange 2007 server mailbox, I setup a new outlook account, either from the control panel mail icon, or from within outlook (both worked) Note; doing from within your already
    existing configured outlook allowed me to migrate my email from on-premise to office 365.
    From Control Panel/Mail , I created profile name “Office 365”
    In the next window it then auto discovered my on premise exchange mailbox email address
    [email protected] (which in my case is the same as the office 365 email address
    [email protected] )
    I replaced the email address with the secondary domain email address that Microsoft office 365 created
    [email protected]. I did not put in password at this point and clicked next. It then searched for mailbox, a windows security mail application windows will pop up.
    This is where I then replace username
    [email protected] with
    [email protected] and put in my office 365 account password.
    As mentioned above when I said I would get back to that in a minute, if you don’t run the
    Set up and configure your Office desktop apps from Office 365. You will not have the option to replace the username from the windows security mail application windows.
    It finishes configuration and you’re now connected.
    Worth mentioning though that I’m still having some funky mail delivery issues with on-premise users with my imported “contacts” in outlook. The contacts work from office 365 web apps, but not from outlook. If I type the address everything
    is fine, but using contacts or replying to on-premise users is giving me some grief. It’s a contact issue but I’m still unable to resolve it.

  • Stateful Session deleted on Remote Exception ?

    Hi,
    Our statefull session bean gets deleted, whenever it throws Remote exception.
    Actually the internal exception is caught and the method throws' Remote Exception.
    After the exception the bean cannot be accessed from it's remote interface. All we
    get is the error saying the bean is removed or deleted. Is this a known behavior.
    All help appreciated
    Thanks,
    Venki
    Exception :
         = ===================================
         = ======= Reason ===================
         = ===================================
         java.rmi.NoSuchObjectException: Bean has been deleted.
         Start server side stack trace:
         java.rmi.NoSuchObjectException: Bean has been deleted.
         at weblogic.ejb20.swap.DiskSwap.read(DiskSwap.java:155)
         at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSession
         Manager.java:242)
         at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessi
         onManager.java:313)
         at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:11
         7)
         at weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject
         .java:170)

    Thanks,
    V
    "Dimitri I. Rakitine" <[email protected]> wrote:
    Yup, this is exactly what is supposed to happen. RemoteException isA system
    exception
    and it is container's responsibility to, among other things, discard the
    bean instance.
    If you want different behaviour then throw a checked application exception
    (one which
    subclasses java.lang.Exception and not RuntimeException or RemoteException).
    Venki <[email protected]> wrote:
    Hi,
    Our statefull session bean gets deleted, whenever it throws Remoteexception.
    Actually the internal exception is caught and the method throws' RemoteException.
    After the exception the bean cannot be accessed from it's remote interface.All we
    get is the error saying the bean is removed or deleted. Is this a knownbehavior.
    All help appreciated
    Thanks,
    Venki
    Exception :
         = ===================================
         = ======= Reason ===================
         = ===================================
         java.rmi.NoSuchObjectException: Bean has been deleted.
         Start server side stack trace:
         java.rmi.NoSuchObjectException: Bean has been deleted.
         at weblogic.ejb20.swap.DiskSwap.read(DiskSwap.java:155)
         at weblogic.ejb20.manager.StatefulSessionManager.getBean(StatefulSession
         Manager.java:242)
         at weblogic.ejb20.manager.StatefulSessionManager.preInvoke(StatefulSessi
         onManager.java:313)
         at weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:11
         7)
         at weblogic.ejb20.internal.StatefulEJBObject.preInvoke(StatefulEJBObject
         .java:170)--
    Dimitri

  • SSIS Email Task Office 365

    Hello
    We use office 365 cloud solution emails but I need to send an email from SSIS. I enter the SMTP no problem, but my connection is not windows authenticated. Is there a way to manually enter your details?
    Because when it runs it fails due to authentication. I am using SQL Server 2010
    Regards,
    Richard Baker

    Hi Richard,
    The SMTP Task in SSIS only supports Windows Authentication and the port number cannot be changed. For a SMTP server that uses non-Windows Authentication, we can use SmtpClient Class in Script Task to send the email. To use basic authentication, we can set
    the SmtpClient.Credentials Property and specify the user name and password. However, be aware that the password is in clear text in this case. Here is the code snippet for your reference:
    SmtpClient mailer = new SmtpClient();
    mailer.Host = "mail.smtpserver.com";
    mailer.Credentials = new System.Net.NetworkCredential("UserName", "Password");
    References:
    http://microsoft-ssis.blogspot.com/2013/08/sending-mail-within-ssis-part-2-script.html 
    http://stackoverflow.com/questions/2766928/how-to-set-username-and-password-for-smtpclient-object-in-net
    Regards,
    Mike Yin
    TechNet Community Support

  • Access denied office 365 / SharePoint online with Global Admin account

    Hi All,
    I am going crazy since two days solving an issue. The problem is;
    I am making a console APP which is talking to SharePoint Online using global admin account (One which was specified as admin while making a new subscription). What I am trying to achieve is, I want to add a custom action using CSOM to each site collection and
    subsite of office 365. That code works fine except on the root site collection which is pre-created by office 365 while signing up (i.e. https://xyz.sharepoint.com)
    Whatever I do on that site collection, it says gives me below error;
    "SchemaVersion":"15.0.0.0","LibraryVersion":"16.0.3912.1201","ErrorInfo":{
    "ErrorMessage":"Access denied. You do not have permission to perform this action or access this resource.","ErrorValue":null,"TraceCorrelationId":"2a47fd9c-c07b-1000-cfb7-cdffbe3ab83a","ErrorCode":-2147024891,"ErrorTypeName":"System.UnauthorizedAccessException"
    },"TraceCorrelationId":"2a47fd9c-c07b-1000-cfb7-cdffbe3ab83a"
    Now the user is global admin. I also added again that user as site collection admin. 
    The same piece of code works fine on other site collections (search site collection, any newly made site collection...). 
    here is a code;
                using (ClientContext spcollContext = new ClientContext(web.Url))
                    SecureString passWord = new SecureString();
                    foreach (char c in strAdminPassword.ToCharArray()) passWord.AppendChar(c);
                    SharePointOnlineCredentials creds = new SharePointOnlineCredentials(strAdminUser, passWord);
                    spcollContext.Credentials = creds;
                    Web currentweb = spcollContext.Web;
                    spcollContext.Load(currentweb);
                    spcollContext.ExecuteQuery();
               //     authCookie = creds.GetAuthenticationCookie(new Uri(web.Url));
                    var existingActions2 = currentweb.UserCustomActions;
                    spcollContext.Load(existingActions2);
                    spcollContext.ExecuteQuery();
                    var actions2 = existingActions2.ToArray();
                    foreach (var action in actions2)
                        if (action.Description == "CustomScriptCodeForEachsite" &&
                            action.Location == "ScriptLink")
                            action.DeleteObject();
                            spcollContext.ExecuteQuery();
                    var newAction2 = existingActions2.Add();
                    newAction2.Description = "CustomScriptCodeForEachsite";
                    newAction2.Location = "ScriptLink";
                    newAction2.ScriptBlock = scriptBlock;
                    newAction2.Update();
                    spcollContext.Load(currentweb, s => s.UserCustomActions);
                    spcollContext.ExecuteQuery(); // GETTING ERROR ON THIS LINE. 
    Note: Above error is Fiddler traces.
    Nitin Khubani Sharepoint Developer

    Hi Nitin Khubani,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issue about
    apps for Office. Since the issue is more relative to SharePoint developing, I would like to move it to
    SharePoint 2013 - Development and Programming forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add new entry of a sandbox solution to Office 365 standard menu

    Hi,
    I have created a sandbox solution for office 365. I want that web part to be accessed from SharePoint Standard menuitem.
    It should be next to Add an App.How could i do that?

    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="----"
    GroupId="SiteActions"
    Location="Microsoft.SharePoint.StandardMenu"
    Sequence="2000"
    Title="====Project"
    Description="Create Project">
    <UrlAction Url="~site/SitePages/=-=-=.aspx"/>
    </CustomAction>
    </Elements>

  • Deactivate Sandbox Solution in Office 365 with no access to SharePoint UI

    I have a sandbox solution custom action deployed to my Office 365 site. The custom action is a simple ScriptLink that points to a script. After I activated the feature, every page in the entire Site Collection comes back as a blank page. Every page. Site
    Settings, Solutions, List Settings, pages, lists, views.. you name it.. it's a blank page.  The entire page contents is:
    <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"><meta name="Robots" content="NOINDEX " /></head><body></body>
                    <script type="text/javascript">
                     var gearPage = document.getElementById('GearPage');
                     if(null != gearPage)
                         gearPage.parentNode.removeChild(gearPage);
                         document.title = "Error";
                     </script>
                     </html>
    Is there anyway for me to deactivate the Custom Action Sandbox Solution without having access to the SharePoint UI?  There doesn't seem to be a PowerShell cmdlet to deactivate a feature and I'm quickly running out of ideas.
    thanks for the help!
    Mark
    The SharePoint Hillbilly
    Fewer Big Words... More Pretty Pictures...
    http://www.SharePointHillbilly.com

    Hi,
    According to your post, my understanding is that you want to deactivate a Sandbox solution feature in Office 356 without accessing to SharePoint UI.
    We can enable or disable a feature from PowerShell using Client Object Model in SharePoint Online.
    Here is an example for your reference:
    http://geeks.ms/blogs/lmanez/archive/2013/09/29/office-365-enable-disable-feature-from-power-shell-using-csom.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to redirect to library on button click in sandbox visual web part solution for office 365

    Hi,
    I have created a sandbox solution for Office 365 with one text box and a button. 
    On button click i am creating a library with name from text box. 
    So, what i want is redirect to newly created library as soon it get created on button click.
    how could i do that?
    Thanks

    Got the solution
    <asp:Literal ID="litRedirect" runat="server" />
    string redirectURL =
    listurl;
    litRedirect.Text = "<script type='text/javascript'>window.location = '" +
    redirectURL + "/';</script>";

  • Deploying Farm solution in Office 365

    How to deploy the farm solution in office 365. My application contains user controls. so i need to deploy this in Office 365. I tried with sandboxed application, but sandboxed solution does not support usercontrols. So how to deploy this in Office 365.
    Thanks, Chinnu

    I created a Sandboxed Solution, Added one Visual web part in that solution with one button control. Added Microsoft.Sharepoint.Taxonomy.dll Reference to the solution. Then in the button click event i wrote the following code:
    SPSite site = SPContext.Current.Site;
                var taxonomySession = new TaxonomySession(site);
                var termStore = taxonomySession.DefaultSiteCollectionTermStore;
                lbl1.Text = termStore.ToString();
                var termStoreGroup = termStore.CreateGroup(txtTermSetGroupVal.Text);
                var termSet = termStoreGroup.CreateTermSet(txtTermSetCatNameVal.Text);
                termSet.CreateTerm("AAA", CultureInfo.CurrentCulture.LCID);
                termSet.CreateTerm("BBB", CultureInfo.CurrentCulture.LCID);
                termStore.CommitAll();
    Then, I deployed this solution in one Publishing site. Added one new page in that site and Inserted this visual webpart in that page. When i click that button, I got the
    following error,
    Web Part Error: Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred. Correlation ID: 49c1759c-5913-70a8-76e3-b2827260601a.[SPUserCodeSolutionExecutionFailedException:
    Unhandled exception was thrown by the sandboxed code wrapper's Execute method in the partial trust app domain: An unexpected error has occurred.]
    Please suggest any solution for my scenario.

  • Error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable

    error while executing script for sharepoint online (office 365) - the remote server returned an error: (503) server unavailable.
    I am creating many site collections reading records from sharepoint list using powershell in sharepoint online tenant (office 365).
    Few site collections are created and then getting above error so this error record will be skipped then few succeeding record processed then again getting error.
    pattern is like:
    success
    success
    success
    success
    Error
    success
    success
    success
    success
    success
    success
    error
    success

    Hi,
    As it is an online environment, to troubleshoot this issue in an easier way, I suggest you contact Office 365 Support to see if there is any useful information in
    the log files in the server side:
    https://support.office.com/en-us/article/Contact-Office-365-for-business-support-32a17ca7-6fa0-4870-8a8d-e25ba4ccfd4b?ui=en-US&rs=en-US&ad=US
    Best regards
    Patrick Liang
    TechNet Community Support

  • Failed to verify gateway status. The remote name could not be resolved: 'machinename' Office 365, Power BI

    Hi
    I am trying to setup a Power BI On Premise datasource at a client site. 
    I successfully installed the Data Management Gateway (DataManagementGateway_1.2.5303.1_en-us (64-bit)) software on a Windows Server 2012 box and created the Gateway on the Power BI Office 365 site.
    The Gateway is running correctly with no errors. When trying to setup the Datasource I get an error. As soon as I try to set the credentials the following message appears. 
    Failed to verify gateway 'GatewayName' status. The remote name could not be resolved: 'servername.domainname.net’ 
    The servername which is returned in the error message is exactly the name which the DMG was installed on. 
    There is a firewall in place with a proxy server and I don't know if this might cause the problems. The
    following website suggests adding the proxy settings in the config files of the DMG but this did not solve the problem.
    The above setup process works perfectly when running the DMG from my laptop, connecting to a Gateway and creating a DataSource connecting to SQL Server.
    Any assistance would be appreciated.

    HI
    Thank You for the reply.
    I resolved the issue in the mean time. I was on laptop which does not belong to the domain.
    When setting up the datasource you should be on the same domain as the datasource as per the below post.
    http://sharepoint-community.net/profiles/blogs/connecting-office-365-to-on-premises-data
    Regards, Drickus

  • Office 365 App using NAPA - "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)"

    Hello,
    I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code  (jquery code) in content editor web part on a page, its working fine, but when I am adding
    the same code in an app, its giving me error :  "The system cannot find the file specified. (Exception from HRESULT:
    0x80070002)" - 500 Internal Server error.
    (function () {
    // This code runs when the DOM is ready and creates a context object which is
    // needed to use the SharePoint object model
    $(document).ready(function () {
    //alert('In doc ready');
    $('.attachmentButton').change(function(event){
    var listName = 'UploadTest',
    itemId = 2;
    handleFileChange(listName,itemId,event.target.files);
    function handleFileChange(listName,itemId,files){
    alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
    alert('files.length :=' + files.length);
    var filereader = {},
    file = {},
    i=0;
    //loop over each file selected
    for(i = 0; i < files.length; i++) {
    alert('In for loop');
    file = files[i];
    filereader = new FileReader();
    filereader.filename = file.name;
    alert('filereader.filename :=' + filereader.filename);
    filereader.onload = function() {
    var data = this.result;
    var n=data.indexOf(";base64,") + 8;
    //alert('n :=' + n);
    //removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
    data= data.substring(n);
    //alert('data :=' + data);
    alert('Above SPServices this.filename :=' + this.filename);
    $().SPServices({
    operation: "AddAttachment",
    listName: listName,
    asynch: false,
    listItemID:itemId,
    fileName: this.filename,
    attachment: data,
    completefunc: function (xData, Status) {
    console.log('attachment upload complete',xData,status);
    alert('Status :=' + Status);
    if (Status.toLowerCase() == "error"){
    alert(xData.responseText);
    alert(xData.status);
    alert(xData.statusText);
    filereader.onabort = function() {
    alert("The upload was aborted.");
    filereader.onerror = function() {
    alert("An error occured while reading the file.");
    //fire the onload function giving it the dataurl
    filereader.readAsDataURL(file);
    alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
    alert(xData.status); - gives error - "500"
    alert(xData.statusText); - gives error - "Internal server error"
    Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
    Any suggestions, why I am getting this error in NAPA ?

    Hi,
    According to your post, my understanding is that you have an issue about adding attachments to list items in app.
    To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
    There are two articles about retrieve the list and list items in the host web, you can refer to them.
    http://www.dotnetcurry.com/showarticle.aspx?ID=1028
    http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
    What’s more, we can also use the REST API to achieve the same scenario.
    http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

Maybe you are looking for

  • My itunes wont open, i have tryed repairing and uninstalling, still nothing?

    I have read all posts similar to my issue but nothing has fixed it. My itunes won't open, i have tried repairing it, repairing Quicktime even uninstalled and reinstalled it. Still nothing....... SOMEONE HELP!!!!

  • Scheduling one background after first finishes

    Hi, I have to run a second BGD job after the completion fo first job periodic BGD job. I scheduled them using SM36 and set the  execution condition in the second job as after JOB completion and gave the name of the first job there. But second job was

  • Deploy to Weblogic 10.3.3 from Jdeveloper 11.1.2.0.0

    Hi All Currently I deploy my project from JDev11G version 11.1.1.0.2 to Oracle Weblogic 10.3.3. In the deployment, I will create JAR, WAR and EAR File and deploy to weblogic. But now when I'm using JDev11G version 11.1.2.0.0 and deploy to Orracle Web

  • JDBC Sender Polling Interval

    Hi All, What is the maximum limit of the poll interval to be specified in JDBC sender. We had faced some problem when we give a 9 or 10 digit polling interval. But when we give something near to 6 7 digits, its working fine Any such practical situati

  • Internal table name which hide statement uses

    Hi, To hide several variables, use chain HIDE statement. As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected. ¨      By an interactive even