December 22, 2016 at 11:16 #14638
I just tried to update to the latest version of DFFS for an Office365 site.
Everything works fine with the JSLink version, but when I try to use the installer, my CCDD doesn’t work anymore:(
I did some testing and noticed, it only doesn’t work with field type lookup – if I chance the looked up field to a normal text type it does work though.
Ok my scenario looks like this:
Site on O365, DFFS is in the SPJS Folder in the Root SiteCollection
List 1 (Gesellschafter) has only the title field filled (Title)
List 2 (Depots) has the title field filled in and another column as a lookup to List 1 to show that title field. (Title, Gesellschafter)
In DFFS I configured one CCDD as shown in the pic CCDDConfig.
This works fine with the JSLink version of DFFS but I get an error with the installer. (The error message is in german since it is a german site I guess.)
Was this removed on purpose?
December 22, 2016 at 20:49 #14656
Sorry for the delay. I have changed the query from the old webservice request to a REST call on office 365 and didn’t think of the possibility of using a lookup column as source.
When using a lookup column as source I think you must append “Id” to the field name. If I understood correctly “Gesellschafter” is a lookup column in the “source list” and this means you must use “GesellschafterId” as column name.
Could you try this and let me know how it works out?
If you need to get it working you can roll back the file “/SPJS/DFFS/plugins/spjs-casc.js” to the one found in your JSLink installation (or any version before v3.6).
December 27, 2016 at 09:22 #14664
Thanks for the info.
I configred the CCDD like in the pic: Now the choice field itself doesn’t through an error any more but the second fiel is not filled. (I removed the readonly rule for testing)
Debugging console (f12) shows the following error:
SCRIPT438: Das Objekt unterstützt die Eigenschaft oder Methode “match” nicht
(literally translated: the object doesn’t support the property or method “match”.)
December 28, 2016 at 15:19 #14671
Another thing I had to notice today. While I only installed the DFFS through the installer on one list (and right after installing the CCDD on the other lists still worked fine), today none of the CCDDs in any list worked any more. (Same error, all of them)
Sadly just uninstalling the DFFS from this one list didn’t help either, I had to downgrade to my last working version.
Could you please let me know how to configure this changed CCDD, so i can get the same results as before?
- This reply was modified 4 months, 3 weeks ago by Artaker.
December 31, 2016 at 00:05 #14705
Sorry for the delay. You can replace the current version of the SPJS-Cacs.js plugin in the “/SPJS/DFFS/plugins” folder with the previous version if you want to use the new DFFS version while I investigate what causes the error.
I have uploaded a new version where I have tried to address this issue – you find it here
Please let me know if you are able to test this version.
January 12, 2017 at 10:54 #15003
Thank you for helping with this.
The reason why my lists are connected this way is, that I used the SPServices.SPCascadeDropdowns function in the beginning which required lists like that. (At least the tutorials I used for it told me so.)
- This reply was modified 4 months, 1 week ago by Artaker.
You must be logged in to reply to this topic.