开发者

cascading Multiple lookup field?

I used cascading lookup field custom control from

http://jaypoint.com/sharepoint-cascading-lookup-field-jquery/

when I create a field from this custom type its type becomes cascading lookup

I want to set it to be multiple lookup column

I changed the parenttype of the field to be开发者_开发问答 LookupMulti

and in code when I allow multiple values I found that the type of the field changed from cascading lookup to standard lookup field which leads to loss of functionality.

is there any way to do this without changing the type of the fieled


I would just recommend using a commercial solution, such as our Connected Field It supports single and multiple parent/child, multiple children chaining, site columns, content type and inline choice entry.


Ok

I got it. the solution is to modify the schema.xml of the file to force it keep the type of the custom field.

i got it from here http://chrisforbesblogs.net/tag/lookupmulti/

he had the same scenario


If you want a third party solution,please try our SharePoint Cascaded Lookup) ,a simple but powerful add-ons for sharepoint ,and relatively cheap($299/WFE)


The solution is

Change the settings to 'Allow Multiple value Select' in the lookup column.

Then use the below code in the script

$().SPServices.SPCascadeDropdowns ({ relationshipList: "Display Name of Master List", relationshipListParentColumn: "Parent Column Internal Name from Master List", relationshipListChildColumn: "Child Column Internal Name from Master List", parentColumn: "Parent Column Display Name from List/Library", childColumn: "Child Column Display Name from List/Library" });

For child Column call the column with the 'Title' of lookup field instead of 'ID'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜