Forum Replies Created
-
AuthorPosts
-
Alexander, I have retired (hurray!) and I just wanted to thank you for all your support over the years!!
I am also trying to unsubscribe from the forum emails. As noted in the last email I received, I went to the forum to unsubscribe, but all I see is a “Subscribe” button and a “Notify me of follow-up replies via email” checkbox for the specific forum question. I do see a link at the top of the post that says “Subscribe”, so I clicked it to see what it did and the link changed to “unsubscribe”. Since the screen loaded with the “subscribe” link, I’m assuming that is not where I need to go to unsubscribe for email.
Do I go elsewhere to unsubscribe?
Again, thank you for your support and all the work you do to make our lives easier!!Thanks Alexander, it worked like a charm!
uploading docs again
Attachments:
March 7, 2019 at 17:34 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24186Thanks! I removed the min.js reference and there was no issue. Actually, I had thought about removing it yesterday, but other work got in the way and I forgot to do it before I left. Thanks again!!
March 6, 2019 at 21:36 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24176We were loading moment.min.js. Evidently it needed moment.js also.
Carl
March 5, 2019 at 20:05 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24139Alexander,
My company does not allow us to link to outside urls, we can only reference files within our internal SP folders. So, I went to https://momentjs.com/, copied the moment.js file to the SiteAssets folder and referenced it in the “Load these files before executing the Custom JS” section of the Custom JS tab. Worked like a charm.No, I don’t have multiple rules triggered using BOTH “changed” and “changed from initial value”.
I do have 5 rules where “Tier 2 (Portfolio)” – “is changed” is the trigger. (All of which are dependent on a linked ruled/function.) But there aren’t any rules where the trigger action is “is changed from initial value” for the field.
I hope that’s what your looking for.Are you asking if both rules are triggered by a Field Change? If so, Yes.
Here’s the expanded debug for rule 19.
Attachments:
March 4, 2019 at 21:10 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24098Here’s the console info text and an attachment.
Resource interpreted as Document but transferred with MIME type image/gif: “<URL>”.
jquery.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.js:4
ajax @ jquery.js:4
wrapSoap @ VM713:1
queryItems @ VM713:1
spjs_QueryItems @ VM713:1
loadConfig @ VM756:1
(anonymous) @ VM756:1
ExecuteOrDelayUntilEventNotified @ init.js?rev=Xpo7ARBt8xBROO1h5n3s6g%3D%3D:1
ExecuteOrDelayUntilScriptLoaded @ init.js?rev=Xpo7ARBt8xBROO1h5n3s6g%3D%3D:1
init @ VM756:1
(anonymous) @ VM756:1
(anonymous) @ /SPJS/DFFS/js/DFFS_frontend.min.js:9
(anonymous) @ jquery.js:2
globalEval @ jquery.js:2
text script @ jquery.js:4
Xb @ jquery.js:4
y @ jquery.js:4
c @ jquery.js:4
XMLHttpRequest.send (async)
send @ jquery.js:4
ajax @ jquery.js:4
jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
(anonymous) @ NewForm.aspx?RootFolder=:1883
i @ jquery.js:2
fireWith @ jquery.js:2
y @ jquery.js:4
c @ jquery.js:4
XMLHttpRequest.send (async)
send @ jquery.js:4
ajax @ jquery.js:4
jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
(anonymous) @ NewForm.aspx?RootFolder=:1871
each @ jquery.js:2
(anonymous) @ NewForm.aspx?RootFolder=:1867
i @ jquery.js:2
fireWith @ jquery.js:2
y @ jquery.js:4
c @ jquery.js:4
XMLHttpRequest.send (async)
send @ jquery.js:4
ajax @ jquery.js:4
jQspjs.cachedScriptLoader @ NewForm.aspx?RootFolder=:1862
load_DFFS_files @ NewForm.aspx?RootFolder=:1864
jqReady @ NewForm.aspx?RootFolder=:1787
(anonymous) @ NewForm.aspx?RootFolder=:1804
setTimeout (async)
jqReady @ NewForm.aspx?RootFolder=:1803
(anonymous) @ NewForm.aspx?RootFolder=:1804
setTimeout (async)
jqReady @ NewForm.aspx?RootFolder=:1803
(anonymous) @ NewForm.aspx?RootFolder=:1809
(anonymous) @ NewForm.aspx?RootFolder=:1810
VM756:1 *** Show DFFS load time tracker ***
Either type this in the console: spjs.dffs.showLoadTime()
Or load the page with “showLoadTime=1” in the URL query string
*** Show DFFS load time tracker ***
VM779:317 Uncaught TypeError: moment is not a function
at HTMLInputElement.beforeShowDay (eval at <anonymous> (jquery.js:2), <anonymous>:317:30)
at n._generateHTML (jquery-ui.min.js:8)
at n._updateDatepicker (jquery-ui.min.js:8)
at n._showDatepicker (jquery-ui.min.js:8)
at HTMLImageElement.<anonymous> (jquery-ui.min.js:7)
at HTMLImageElement.dispatch (jquery.js:3)
at HTMLImageElement.r.handle (jquery.js:3)Attachments:
March 4, 2019 at 20:39 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24088Alexander,
Clicking on the error doesn’t do anything
But here’s a screen shot just in case it sheds more light.Attachments:
Alexander,
We are not using SPJS-Lookup plugin for this form.
Attachments:
1) New Form – As you can see from the debug rules section, the form on the right is using v48. The form on the left is using v60. Once the “Tier 2 (Portfolio)” is selected, the “MTM Information” section is suppose to display. As you can see, it does not using v60.
Rule 19 – This rule is suppose to fire when “Tier 2 (Portfolio)” is selected.
Rule 17 – Referenced in Rule 19. There are several Custom JS functions that run when this rule is executed. None of them effect the fields displayed under the “MTM Information” section.Attachments:
March 4, 2019 at 18:10 in reply to: Custom JS to limit selectable days in Date field not working past DFFS v55 #24066I’m getting an “Object expected” error on – var firstWeekdayOfYear = moment(firstDayOfYear).format(“d”); – which I do not get on v55.
- This reply was modified 5 years, 10 months ago by Carl E Tippins.
I got the rule to fire. HOWEVER, in DFFS v48 the rule returns as true, in DFFS v60 the rule returns false. Same list, same DFFS setup. Only difference is the version of DFFS being used.
Wanted to add, the last DFFS version I can use that does not have this issue is DFFS v48.
-
AuthorPosts