none
CSOM - update resource availability RRS feed

  • Question

  • does anyone know how to update resource availability in CSOM? i need to rewrite some code written in PSI and can't find a way to do it. Any ideas?

    here is my code in PSI

     updateDs.Tables["ResourceAvailabilities"].Rows[0]["RES_AVAIL_UNITS"] = 80;

                SvcResource.ResourceDataSet.ResourceAvailabilitiesRow resAvailRow = updateDs.ResourceAvailabilities.NewResourceAvailabilitiesRow();

                resAvailRow.RES_UID = resourceRow.RES_UID;
                resAvailRow.SetRES_AVAIL_FROMNull();
                resAvailRow.SetRES_AVAIL_TONull();
                resAvailRow.RES_AVAIL_UNITS = 80;
                updateDs.ResourceAvailabilities.AddResourceAvailabilitiesRow(resAvailRow);


    tatiana

    Thursday, January 7, 2016 6:50 PM

Answers

  • i got a response from Microsoft support and the answer was -  this functionality is not available in CSOM :(

    tatiana

    Monday, January 11, 2016 7:08 PM