Forum Replies Created
-
AuthorPosts
-
May 1, 2016 at 08:24 in reply to: DFFS works on Discussion Replies but not Original Post item #11345Alexander BautzKeymaster
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
April 30, 2016 at 09:24 in reply to: DFFS works on Discussion Replies but not Original Post item #11341Alexander BautzKeymasterWhich 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
Alexander BautzKeymasterI 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
Alexander BautzKeymasterYour config will not be lost. All you need to do is to replace the files in the “/SPJS/DFFS” folder.
Alexander
Alexander BautzKeymasterHi,
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-pAlexander
Alexander BautzKeymasterCould you try updating to the latest version of DFFS? If I recall correctly this bug should have been fixed.
AlexanderAlexander BautzKeymasterWhich version of DFFS are you using?
Alexander
Alexander BautzKeymasterHi,
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
April 27, 2016 at 19:03 in reply to: Unable to get Child Items to Display in Parent List View #11301Alexander BautzKeymasterThanks 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
Alexander BautzKeymasterHi,
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,
AlexanderAlexander BautzKeymasterHi,
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
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterHi,
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
Alexander BautzKeymasterHi,
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
-
AuthorPosts