Alexander Bautz

Forum Replies Created

Viewing 15 posts - 3,766 through 3,780 (of 4,556 total)
  • Author
    Posts
  • Alexander Bautz
    Keymaster

    It’s caused by the fact that the root of a discussion is a folder content type. The same is true for a summary task. I’ll fix this in the next revision of DFFS during next week.

    Sorry for the inconvenience.

    Alexander

    Alexander Bautz
    Keymaster

    Which version of SharePoint are you using?

    I did a quick test on a discussion board in in SP2013, and it seems the JSLink loading will not work. I have not looked further into this issue.

    Alexander

    in reply to: vLookups stopped working in list Edit form #11339
    Alexander Bautz
    Keymaster

    I have a hunch it could be the “List base URL”, but if you append “&vLookupDebug=1” to the URL you can “see” the query and the output:

    Example:

    /Lists/DFFS_TestList/DispForm.aspx?ID=123&vLookupDebug=1

    Post the output here.

    Alexander

    in reply to: IE Browser message \"This took forever!\" #11337
    Alexander Bautz
    Keymaster

    Your config will not be lost. All you need to do is to replace the files in the “/SPJS/DFFS” folder.

    Alexander

    in reply to: Date field #11335
    Alexander Bautz
    Keymaster

    Hi,
    I don’t think this is caused by DFFS. Look at this page and see if some of the suggestions will work for your: http://sharepoint.stackexchange.com/questions/46380/date-field-shows-the-word-true-instead-of-a-calendar-after-clicking-the-date-p

    Alexander

    in reply to: IE Browser message \"This took forever!\" #11312
    Alexander Bautz
    Keymaster

    Could you try updating to the latest version of DFFS? If I recall correctly this bug should have been fixed.
    Alexander

    in reply to: IE Browser message \"This took forever!\" #11308
    Alexander Bautz
    Keymaster

    Which version of DFFS are you using?

    Alexander

    in reply to: E-Mail Active Tab #11306
    Alexander Bautz
    Keymaster

    Hi,
    I’m not sure what could be wrong, but you can use this code to test the sending. To use it, you must be logged into the SharePoint site, and then open the developer console using F12. Go to the “Console” tab and paste this code:

    function test_email(a){
    	return spjs.$.ajax({
    		"contentType": "application/json",
    		"url": _spPageContextInfo.webServerRelativeUrl+ "/_api/SP.Utilities.Utility.SendEmail",
    		"type": "POST",
    		"data": JSON.stringify({
    			"properties": {
    				"__metadata": {
    					"type": "SP.Utilities.EmailProperties"
    				},
    				'To': {
    					'results': [a.to]
    				},
    				'CC': {
    					'results': [a.cc]
    				},
    				'BCC': {
    					'results': [a.bcc]
    				},
    				'Subject': a.subject,
    				'Body': a.body					
    			}
    		}),
    		"headers": {
    			"Accept": "application/json;odata=verbose",
    			"content-type": "application/json;odata=verbose",
    			"X-RequestDigest": spjs.$("#__REQUESTDIGEST").val()
    		},
    		"success": function(data){
    			alert("Email sent");
    		},
    		"error": function(err) {
    			alert(err);
    		}
    	});
    }
    
    test_email({
    	"to":"Put_your_email_address@here.com",
    	"cc":"",
    	"bcc":"",
    	"subject":"Test email",
    	"body":"This is a test message"
    });

    Change “Put_your_email_address@here.com” with your own email. You should bet an alert with either “Email sent” or an error.

    If you cannot make this work, using the workflow method will most likely work (as long as you are allowed to use SP designer to create the WF).

    Please note that sending messages using REST is only available in SP 2013

    Alexander

    Alexander Bautz
    Keymaster

    Thanks Lana – you can also search all forums in the left column. I see that this is not as visible as it should be, and I have now added it to the right column also.

    Alexander

    in reply to: New form-buider #11295
    Alexander Bautz
    Keymaster

    Hi,
    I’m sorry, but I have been a bit delayed with it as I had to get the new SPJS Charts Form SharePoint solution up to v5. This is nearly ready for a public BETA – hopefully over the weekend.

    When this is finished, I’ll resume work on DFFS v5 / the new form-builder.

    Best regards,
    Alexander

    in reply to: IE Browser message \"This took forever!\" #11282
    Alexander Bautz
    Keymaster

    Hi,
    Could you try bringing up the developer console (hit F12 > Console) and see if there is any errors there?

    Does the overlay go away by itself if you wait a little longer? – if so, it’s just IE being slow processing the form. In this case you can try to optimize the rules, or change the overlay timeout to let it wait longer (edit the overlay code).

    Alexander

    in reply to: Get values on DispForm #11280
    Alexander Bautz
    Keymaster

    Hi,
    As Julian mentions above, you will not find any INPUT tags in DispForm. What you have here is the Yes / No values (depending on which language your SharePoint uses), or if you use DFFS the unicode representation of a checked / unchecked checkbox.

    You can use something like this to read the current value form the form:

    var fieldValue = getFieldValue("YourBooleanFieldName), newVal = "";
    if(fieldValue === "No"){
    	newVal = "NO - add your text or HTML code here";
    }else if(fieldValue === "Yes"){
    	newVal = "YES - add your text or HTML code here";
    }
    $("#dffs_YourBooleanFieldName").find("td.ms-formbody").html(newVal);

    Hope this gets you a bit further.

    Alexander

    in reply to: Stay on page after save #11278
    Alexander Bautz
    Keymaster

    Hi,
    I’m not sure I understand exactly what you mean. Where are the users write their input? – is it in an EditForm opened from the list view? I would think the default SharePoint behavior would be to redirect back to where you were?

    Please note that any “&Source=/Url/To/A/Page” in the URL will causer the page to redirect to this “Source” after save.

    Alexander

    in reply to: E-Mail Active Tab #11273
    Alexander Bautz
    Keymaster

    Hi,
    I have wrapped this line in a “try-catch” because the variable “Strings.STS.L_DLPLite_SharingPage_SingleExternalUserText” is not available in all SP versions. The fix in v4.3.67 will not fix the issue, only display a slightly more informative error message.

    When hitting this error handler, I’m guessing your colleague is trying to send to an external e-mail address? – when using REST e-mail, you can only send to valid users in the organization.

    To overcome this limitation in SharePoint, you can configure the send e-mail feature in DFFS to use a workflow (option in the top of the email and print tab in DFFS backend).

    Hope this helps.

    Alexander

    in reply to: Unable to use multiple tabs with an external list. #11271
    Alexander Bautz
    Keymaster

    Hi,
    Yes, I created it exactly as you described. As you know I’m not familiar with external lists so if there is something you need me to test you must let me know.

    Alexander

Viewing 15 posts - 3,766 through 3,780 (of 4,556 total)