SPCascade on other language

Feb 24, 2014 at 4:00 PM
Hi all,
please, can you help me ? I tried to use cascade feature, I prepare me own web part.
used parameters:
-GUID current list
-GUID relationshiplist
  • parent column static name
    -child column static name
  • parent display field name
  • child display field name
    No other params in my script. In default language (UK) everything works fine, but when I switch to other language (Slovak) it doesn't work. What I did:
  • replace parent display name
  • replace child display name
  • turn on debug mode.
but no errors, and no filtering related items :( Where I have to find an error ? What else I must change ?
Thank you very much.
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Coordinator
Feb 24, 2014 at 4:17 PM
I'm not sure that I've ever had anyone ask about Slovak before. It's possible (and somewhat likely given what I've seen with other languages) that the translations in the element attributes for Slovak aren't compatible with the existing code.

Can you post the markup for the parent and child columns?

M.
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Feb 25, 2014 at 11:49 AM
Thank for quick reply,

1) working Code (form fields are in development english) :
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({ relationshipList: "{511BA300-FC51-4420-8A92-1C6596761213}", relationshipListParentColumn: "CRMSubjectLookup", relationshipListChildColumn: "Title", parentColumn: "CRMSubjectLookup", childColumn: "CRMOpportunityLookup" , listName: "{597FB752-B3C3-4B46-9512-E0F2A2C99865}", debug: true });

2) not working Code (form fields are in Slovak) :
$(document).ready(function() {
$().SPServices.SPCascadeDropdowns({ relationshipList: "{511BA300-FC51-4420-8A92-1C6596761213}", relationshipListParentColumn: "CRMSubjectLookup", relationshipListChildColumn: "Title", parentColumn: "Obch. vzťah", childColumn: "Obch. prípad" , listName: "{597FB752-B3C3-4B46-9512-E0F2A2C99865}", debug: true });

There is no diffrence on "server side parameters", I change only form fields...
Thank you again
Marian
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Coordinator
Feb 25, 2014 at 12:29 PM
Marian:

Thanks. I was actually looking to see the markup from the page in the browser for parentColumn and childColumn. Can you post that? I don't need to see the options in the select, just the select and/or input elements.

M.
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Mar 3, 2014 at 2:26 PM
Hello - sorry my idle time.
(there was a spring holiday in Slovakia and I had to take my children form facebook to ski trip).

I can post full page, but as I see, there is no possibility to attach file in discusion forum . And the SP generated file is big to paste source here, I prepare a link to download it:

http://upgrade.ecolko.sk/upgrade/OLD/Slovak_Page_Test.zip

Thank you very much
(Note: My solution encapsulate your services library in one WSP file. But if the english version is ok, I think there is no problem in WSP building ).

Marian
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Mar 6, 2014 at 1:10 PM
Hi, good news today !
When I switch my web part to use jquery.SPServices-2014.01 version, everything looks OK !
(Before I use reference to old version of spservice script).

Thank you for your time,
regards
Marian
Marked as answer by _marian on 3/6/2014 at 5:11 AM
Coordinator
Mar 7, 2014 at 7:54 PM
That's great to hear! What version were you using before?

M.
Mar 11, 2014 at 11:00 AM
my previous reference was :
//cdnjs.cloudflare.com/ajax/libs/jquery.SPServices/0.7.2/jquery.SPServices-0.7.2.min.js

Marian
Coordinator
Mar 11, 2014 at 7:09 PM
OK, you were quite a few versions behind. Now that you're on 2014.01, you should be much better off.

M.