soldier1733

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: vLookup Upload Document Check in page #9539
    soldier1733
    Participant

      Thank you so much for pointing me in the directions for both questions!

      For the first issue, it was a required column in the Content Type that was forcing the check-in feature. Once I made that option, it went away and only brought up the properties dialog.

      For the second issue, I have successfully been able to hide the “Upload with Windows Explorer” from the display. Because I also have a required ID field to match the form to the Uploaded document, I also needed to hide this field so that ID does not get modified by the end user. Here is the modified code from the link you provided:

      
      
      setInterval(function(){
      	var uploadDlg = $(parent.document).find("iframe[src*='/Upload.aspx']");
      	var editDlg = $(parent.document).find("iframe[src*='/EditForm.aspx']");
      	if(uploadDlg.length > 0){
      		$(uploadDlg[0]).contents().find("#ctl00_PlaceHolderMain_UploadDocumentSection_ctl05_OpenWithExplorerLink").hide();
      	}
      	if(editDlg.length > 0){
      		$(editDlg[0]).contents().find("#dffs_RequisitionID").hide();
      		$(editDlg[0]).contents().find("#dffs_ID").hide();
      	}
      },500);

      This even hides the fields when displaying or editing the Properties dialog through the vLookup plugin.

      Thanks again!

      in reply to: Redirect from NewForm to EditForm in DFFS #8905
      soldier1733
      Participant

        Thank you Alex, that did the trick!!

        in reply to: Redirect from NewForm to EditForm in DFFS #8901
        soldier1733
        Participant

          The fields I am trying to update are People Picker fields for SP2013. Here is the output of the data object:
          [object Object]
          {
          [functions]: ,
          CEO: [
          0: “Jane Doe”,
          length: 1
          ],
          COO: [
          0: “John Doe”,
          length: 1
          ],
          GM: [
          0: “Janice Doe”,
          length: 1
          ],
          Manager: [
          0: “Jeff Doe”,
          length: 1
          ],
          Office_x0020_Location: “Corporate”,
          Requestor: [
          0: “Janet Doe”,
          length: 1
          ],
          Title: “REQ2015-208”
          }

        Viewing 3 posts - 1 through 3 (of 3 total)