在pdp中保留自定义Web部件中的值 [英] persist value in custom web part in pdp

查看:85
本文介绍了在pdp中保留自定义Web部件中的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在PWA中 - >服务器设置,我可以创建查找表,然后创建放置在PDP上的自定义字段。 但是我需要更多,所以我创建了自定义Web部件以包含多个复选框并将其放在PDP上。 当我创建
a  EPT时,在点击"保存"后,在服务器设置中创建的所有自定义字段都会保留其值。或"下一个"在功能区上,除了我的自定义控件。 如何实现相同并坚持用户选择的值? 我们非常感谢您的帮助。

In PWA -> Server Settings, I can create lookup tables and then create custom fields which are placed on PDP.  However I needed a bit more, so I created custom web part to include multiple check boxes and placed it on PDP.  When I create a EPT, all custom fields created in server settings persist their values after clicking "save" or "next" on the ribbon except for my custom control.  How can I achieve the same and persist the user selected values?  Your help is always appreciated.

谢谢,

kashif

推荐答案

您好,

您的意思是说当您单击功能区上的"保存"按钮时,应保存自定义Webpart的数据吗?如果是,则需要使用功能区上的"保存"按钮连接Web部件。 

这里
你会发现什么我在说。如果这是你想要的,请告诉我。

Do you mean to say that when you click on Save button on the ribbon your custom webpart's data should be saved? If yes, you need to hook up your web part with the Save button on the ribbon.  Here you'll find of what I'm talking about. Kindly let me know if this is what you were looking for.


这篇关于在pdp中保留自定义Web部件中的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆