动态视图:添加字段逻辑

我添加了以下字段逻辑,当另一个字段被标记提出时,表单上需要某些字段。然而,通过应用以下逻辑,表单仍然能够在完成这些字段的情况下保存。尽管我在表格上注明了提议的地位。这招不管用有什么原因吗?除非完成了这些字段,否则我不希望用户能够保存表单。*注意,我不能在一开始就把它们标记为必须的,因为它们只有在条目实际上是“提议的”时才是必须的。有人能帮忙吗?

image.png


答案

  • 吉纳维芙P。
    吉纳维芙P。 员工管理

    @dwallerius98081

    动态视图中的场逻辑在形式上不同于条件逻辑。为了让字段识别新的条目,条目需要被保存,并将此值提交给底层表。一旦该值被输入到单元格/底层工作表,字段逻辑就可以识别该值并将逻辑应用到视图面板。

    这意味着在Status被更新和保存之后,然后您将根据需要看到下面两个字段。

    因此,如果有人之前提交了该行的信息,并且状态显示为“提议”,那么当用户在动态视图中单击该行时,面板中的逻辑将根据需要显示这些字段。但是,如果填充面板的用户是正在切换Status的用户,则只有在点击Save按钮并将新值输入工作表时,字段才会显示出来。

    您可能想要在字段中添加辅助文本,以识别这一点,并要求用户在每个条目后单击“保存”。或者,如果这是一行的初始进料,则可以从底层表单设置一个Form作为进料表单,而不是Panel。

    我希望这有助于澄清小组是如何工作的!

    欢呼,

    吉纳维芙

  • 请更改动态视图中的字段逻辑以匹配表单中的条件登录。现在的运作方式没有任何意义。当表单加载任何现有数据时,以及当用户更改下拉字段中的值时,都应该应用字段逻辑。

    当前的方法也不能很好地与其他自动化一起工作,这些自动化可能会基于对状态列的更改而触发。假设当状态列发生变化时,其他值也会被更新,但不能保证会发生这种情况。

  • 费利西亚威尔逊
    费利西亚威尔逊 ✭✭✭✭✭✭

    我同意Mark Salamon的观点。动态视图中的字段逻辑的工作方式对用户不友好。要求用户在每个条目之后进行保存是一种快速挫败用户的方法。表单上的条件逻辑在用户更改下拉字段中的值时应用的方式要好得多。

  • +1为这个增强=因为我正在寻找这个非常功能。

    我想使一个域需要在动态视图,如果用户作出一个特定的选择。

    如果它只在保存选择之后才适用,那就违背了目的。

    谢谢

  • 杰罗德·多尼展开
    杰罗德·多尼展开 ✭✭✭✭✭✭

    +1此增强。

    伟大的工作伙伴们……Smartsheet请找到一种方法来改进动态视图中的显示面板,以更好地反映使用条件格式时表单的显示方式,如果条件格式需要填充额外的字段,但表单在过程中中途保存,这是没有好处的。谢谢。

  • Traci萨默斯
    Traci萨默斯 ✭✭✭✭✭✭


    也是+1

    我已经等待这个功能的发布快2年了。我们使用动态视图的大部分内容都有利于即时计算,因此可以修改条目以适应我们设置的指导原则。我可以将所有的公式和控件构建到Smartsheet中,但是因为我需要Dynamic View来处理安全性,所以我失去了所有这些功能。

You have a misplaced closing parenthesis. Try moving one from after the ISBLANK function to after [Target Date]@row.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"reasonUpdated":"","dateUpdated":"2022-08-05 19:57:07","updateUser":{"userID":147369,"name":"PeggyLang","url":"https:\/\/community.smartsheet.com\/profile\/PeggyLang","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-05T19:55:17+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":93973,"type":"question","name":"Dashboard Charts","excerpt":"I have developed a line chart that shows the monthly percentage values. The chart seems to be working fine, but one thing I've noticed is that in some instances it will display one or multiple numbers more than once. For example, the percentage values range from 97% to 99%. The line chart will show two tick marks for each…","categoryID":321,"dateInserted":"2022-08-05T13:07:40+00:00","dateUpdated":null,"dateLastComment":"2022-08-05T16:01:50+00:00","insertUserID":134850,"insertUser":{"userID":134850,"name":"Shawn Clemmons","url":"https:\/\/community.smartsheet.com\/profile\/Shawn%20Clemmons","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-05T16:02:51+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2022-08-05T20:10:09+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":18,"score":null,"hot":3319421970,"url":"https:\/\/community.smartsheet.com\/discussion\/93973\/dashboard-charts","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/93973\/dashboard-charts","format":"Rich","tagIDs":[292],"lastPost":{"discussionID":93973,"commentID":338823,"name":"Re: Dashboard Charts","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/338823#Comment_338823","dateInserted":"2022-08-05T16:01:50+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2022-08-05T20:10:09+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/EGZSEH9NF13E\/line-chart-issue.jpg","urlSrcSet":{"10":"","300":"","800":"","1200":""},"alt":"line_chart_issue.jpg"},"attributes":{"question":{"status":"accepted","dateAccepted":"2022-08-05T15:59:48+00:00","dateAnswered":"2022-08-05T15:53:34+00:00","acceptedAnswers":[{"commentID":338816,"body":"

It is because of the size of the widget vs the scale of the data. If your data had a larger range of numbers or the widget was smaller then it would not show those duplicated values on the vertical axis.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"reasonUpdated":"","dateUpdated":"2022-08-05 15:59:48","updateUser":{"userID":134850,"name":"Shawn Clemmons","url":"https:\/\/community.smartsheet.com\/profile\/Shawn%20Clemmons","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-05T16:02:51+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":292,"urlcode":"Dashboards","name":"Dashboards"}]},{"discussionID":93948,"type":"question","name":"Using text building blocks within automation and update requests","excerpt":"Hi, I have built a sheet for lead management. Now, I think about building another sheet where I put text building blocks with corresponding numbers inside that I can use within the automation process f.e. update requests. text 1 = good morning text 2 = thank you for your request text 5 = please find attached ... text 3 =…","categoryID":321,"dateInserted":"2022-08-04T18:42:19+00:00","dateUpdated":"2022-08-05T02:05:14+00:00","dateLastComment":"2022-08-05T15:01:54+00:00","insertUserID":151036,"insertUser":{"userID":151036,"name":"Jörg Schmidt1","url":"https:\/\/community.smartsheet.com\/profile\/J%C3%B6rg%20Schmidt1","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!hJjVoY907bY!!P7w61eHMiE7","dateLastActive":"2022-08-06T20:26:27+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":91566,"lastUserID":126598,"lastUser":{"userID":126598,"name":"Paul McGuinness","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20McGuinness","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-05T15:07:57+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":18,"score":null,"hot":3319351453,"url":"https:\/\/community.smartsheet.com\/discussion\/93948\/using-text-building-blocks-within-automation-and-update-requests","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/93948\/using-text-building-blocks-within-automation-and-update-requests","format":"Rich","lastPost":{"discussionID":93948,"commentID":338804,"name":"Re: Using text building blocks within automation and update requests","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/338804#Comment_338804","dateInserted":"2022-08-05T15:01:54+00:00","insertUserID":126598,"insertUser":{"userID":126598,"name":"Paul McGuinness","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20McGuinness","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-08-05T15:07:57+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2022-08-06T10:40:52+00:00","dateAnswered":"2022-08-05T15:01:54+00:00","acceptedAnswers":[{"commentID":338804,"body":"

Hi @Jörg Schmidt1<\/a> <\/p>

This is definitely possible, if you only have a few outcomes you can use a formula to create the response in a cell that you can pull into a notification message.<\/p>

\n
\n \n \"image.png\"<\/img><\/a>\n <\/div>\n<\/div>\n

This formula based on your example gives the above results.<\/p>

=IF(AND(Enquirer@row = \"Start up\", Request@row = \"whitepaper or e-book\"), \"Good Morning\" + CHAR(10) + \"Thank you for your request\" + CHAR(10) + \"Please find attached\", IF(AND(Enquirer@row = \"Private person\", Request@row = \"offer\"), \"Good Morning\" + CHAR(10) + \"Kind regards\" + CHAR(10) + \"Please find attached\"))<\/p>

Hope this helps<\/p>

Thanks<\/p>

Paul<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"reasonUpdated":"","dateUpdated":"2022-08-06 10:40:52","updateUser":{"userID":151036,"name":"Jörg Schmidt1","url":"https:\/\/community.smartsheet.com\/profile\/J%C3%B6rg%20Schmidt1","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!hJjVoY907bY!!P7w61eHMiE7","dateLastActive":"2022-08-06T20:26:27+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[]}],"title":"Trending in Using Smartsheet","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">