Forum Replies Created
-
AuthorPosts
-
Hi there
The only error is
‘$’ is undefinedSo no clues
G
Hi there
I added the line to the top of the “DFFS_loader.html” and it works as expected with everything loading correctly (item forms, configuration forms etc).
I had tried to do the upgrade on the live environment but had the same experience so I’m not convinced it is my staging server.
My site collection is server.strath.ac.uk/celcis so the root path on the live server is http://moss.strath.ac.uk/celcis/SPJS
Would the DFFS_load.html file when set to root look find that location?
Thanks
Gerry
THanks Alexander
Works a treat
Hi there
Sorry for the delay in responding. I’ve added the code above but no joy. Probably missing something. I am getting the message
“You cannot use the “setFields” section in the configuration when you are using the “multiselect” option.”
I wasn’t sure if your reply said that it couldn’t but that the new code would allow it.
THanks as ever
Gerry
Thanks for the pointer. Got them working using the manual method but not using a datasource as each CCDD was using different source fields.
Regards
Gerry
Should also say that the source list has over 1400 items. It take it that could make an impact?
G
Thanks for that. Works as I need now.
Regards
Gerry
Hi there
I tried as you suggested but no joy. It gets rendered literally. I have other HTML and css in the header, but I removed this and same result.
Thanks
Gerry
June 24, 2017 at 00:05 in reply to: Concatenate string with field value when prefilling values #16961Thanks again Alexander. All working now.
I couldn’t see any ref to the use of var in the help text though.
Gerry
Hi Alexander
Apologies, but it is working. When I read “deprecated” under the “Expand and collapse” tab, I thought these options where no longer necessary. Clicking the “Enable expand and collapse of form sections when clicking a heading” option made it work.
Thanks
Gerry
Blob attached. There is a LM field and a HubM field. I had tried to fix the problem by deleting the config, deleting the HM field and recreating it as HubM.
G
{“defer”:0,”userID”:36,”pass”:””,”created”:1461077766170,”lastMod”:1472828010868,”dffs_version”:4.365,”spjs-utility_version”:”1.260″,”licensed”:”Gerard Graham”,”noReverseRules”:false,”data”:{“triggerMap”:{“DF_CurrentUserInPicker”:[0]},”ruleArr”:[{“friendlyName”:””,”note”:””,”ruleDisabled”:false,”ruleDisabledIn”:{“n”:false,”d”:false,”e”:false},”ruleDebug”:false,”triggerField”:”DF_CurrentUserInPicker”,”operator”:”Neq”,”triggerValue”:”LM,HubM”,”validateOn”:”b”,”siblingRules”:””,”noReverse”:false,”stopAndExit”:false,”jumpToRule”:””,”mandatoryFields”:[],”optionalFields”:[],”hiddenFields”:[],”visibleFields”:[],”readonlyFields”:[“ApproverComments”,”HMApproved”,”LMApproved”],”editableFields”:[],”hideSaveItemBtn”:””,”hideEditItemBtn”:false,”setFieldValueArr”:[],”displayMsg”:{“fin”:”DF_CurrentUserInPicker”,”val”:””},”alertMsg”:””,”oldStyleAlert”:false,”selectedTab”:””,”visibleTabs”:””,”hiddenTabs”:””,”runThisFunction”:””,”sendThisEmail”:””,”hiddenHeadings”:””,”visibleHeadings”:””}]},”bypassFor”:””,”showSetupBtnFor”:””,”bypassPrompt”:””,”initialHiddenFields”:””,”multichoiceVertical”:{“Role”:””},”multiLookupVertical”:false,”fixQuirkyLookup”:false,”tabPrevNextButtons”:false,”tabPrevNextButtonsLabelP”:””,”tabPrevNextButtonsLabelN”:””,”formColor”:{“label”:””,”body”:””},”customCSS”:””,”customJS”:””,”miscNote”:””,”showFieldDescriptionWhenReadonly”:false,”showEmptyRequiredBanner”:false,”showEmptyRequiredBannerLabel”:””,”editFormInDlg”:false,”dlgFixedTop”:true,”dlgFixedHeight”:””,”dlgFixedWidth”:””,”editFormSource”:true,”accordion”:{“on”:false,”firstopen”:false,”img”:{“c”:””,”e”:””},”slideTime”:150,”headingstyle”:””,”skip”:[“”]},”sbs”:{“span”:false,”customLabel”:{}},”tabs”:{“selected”:””,”arr”:[{“uniqueID”:”Attendee”,”noteToSelf”:””,”name”:”Attendee”,”title”:”Attendee”,”color”:””,”tabIsHidden”:false,”editBtnHiddenInTab”:false,”saveBtnHiddenInTab”:false,”tabVisibleForGroupIdArr”:[],”id”:0,”clickFunctionName”:””,”fields”:[“Attendee”,{“id”:”10″,”html”:”Your request will be submitted to your line manager for approval. Please do not make any financial commitments until you have been granted approval.”},”Role”,”AbstractSubmitted”,”EventFee”,”TravelCosts”,”AccomodationCosts”,”OtherCosts”,”ReasonForAttendance”,”Note”]},{“uniqueID”:”Attendee_1″,”noteToSelf”:””,”name”:”Attendee”,”title”:”Attendee”,”color”:””,”tabIsHidden”:false,”editBtnHiddenInTab”:false,”saveBtnHiddenInTab”:false,”tabVisibleForGroupIdArr”:[],”id”:1,”clickFunctionName”:””,”fields”:[“Attendee”,”Role”,”AbstractSubmitted”,”EventFee”,”TravelCosts”,”AccomodationCosts”,”OtherCosts”,”ReasonForAttendance”,”Note”,”LM”,”LMApproved”,”HubM”,”HMApproved”,”ApproverComments”]}],”bannerField”:””,”sCookie”:false,”sTabFromDispToEdit”:false,”breakAt”:””,”showOrphans”:true,”showOrphansFor”:”37″},”wfEmail”:false,”tooltip”:{“AbstractSubmitted”:”Tick if you have already submitted an abstract. You can use the note field to provide further information such as the title, if accepted etc.”,”AccomodationCosts”:””,”Approved_x0020_by”:””,”ApproverComments”:””,”Attachments”:””,”Attendee”:””,”ContentTypeChoice”:””,”EmailAtt”:””,”Event”:””,”EventFee”:””,”HMApproved”:””,”HubM”:””,”ID”:””,”LM”:””,”LMApproved”:””,”Note”:””,”OnAttend”:””,”OnNewAtt”:””,”OtherCosts”:””,”ReasonForAttendance”:””,”Role”:””,”Title”:””,”TravelCosts”:””},”tooltipHoverImgSrc”:””,”tooltipContainerBgColor”:””,”fieldCSS”:{“AbstractSubmitted”:””,”AccomodationCosts”:””,”Approved_x0020_by”:””,”ApproverComments”:””,”Attachments”:””,”Attendee”:””,”ContentTypeChoice”:””,”EmailAtt”:””,”Event”:””,”EventFee”:””,”HMApproved”:””,”HubM”:””,”ID”:””,”LM”:””,”LMApproved”:””,”Note”:””,”OnAttend”:””,”OnNewAtt”:””,”OtherCosts”:””,”ReasonForAttendance”:””,”Role”:””,”Title”:””,”TravelCosts”:””},”cascadingDropdowns”:[],”email”:{“templates”:{}}}
Hi there
I was using the trigger “Compare Logged in user with people picker field” with HM as the value. I’ve used this format before in another list, so I thought it would work again. When I go from Disp to Edit, it takes a few seconds, then displays the “This Took forever!” message. After clicking through, the form displays with no DFFS rendering and no configuration link at the bottom of the page. Hopefully I won’t have to recreate the list, but it isn’t a life list if I have to.
Console messages below.
Thanks
Gerry
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: DispForm.aspx
HTML1300: Navigation occurred.
File: EditForm.aspx
HTML1201: strath.ac.uk is a website you’ve added to Compatibility View.
File: EditForm.aspx
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: DispForm.aspx
HTML1300: Navigation occurred.
File: listform.aspx
HTML1201: strath.ac.uk is a website you’ve added to Compatibility View.
File: listform.aspx
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: DispForm.aspx
SEC7115: :visited and :link styles can only differ by color. Some styles were not applied to :visited.
File: EditForm.aspx
SCRIPT16389: This name may not contain the ‘,’ character:ows_LM–>,<–HubM
File: jquery.js, Line: 4, Column: 22188
The list is a project register. The first few fields are completed then the record is saved allowing child records in the form or outputs to be added via a vLookup.
Am I right in thinking that the solution we use in 2010 doesn’t work in 2013 and that is why I’m encountering the message now?
The list is pretty stable so moving to the solution you suggest shouldn’t be a problem.
Regards
Gerry
No custom code and on 2010. We are migrating to 2013 this year so plans are well underway. I looked at all the People Picker fields in the list and some where selecting from all users and others from specific groups. I’ve made them all All Users and lo and behold – it works. Something to do with old users perhaps or some change our IT are making in advance of the migration?
Thanks
Gerry
Hi there
It works in all the lists I’ve tried it on so far. I realise now I should have been basing the filter on a static field instead, but another new feature added!
Cheers
Gerry
-
AuthorPosts