Dynamics AX 表单项目订购
在大多数情况下,AX 表单似乎遵循 AOT 布局并按顺序出现。然而,在某些情况下,表单项以看似任意的顺序出现,而在其他情况下,AOT 中的项甚至不会重新排序。无论您如何拖放 AOT 中的项目,它们始终保持相同的顺序。此问题在 AX 2009 中偶尔发生,但在 AX 2012 中似乎更严重。我发现解决此问题的唯一方法是删除非重新排序项目并重新创建它们。
还有其他人有类似的经历吗?有人有解决办法吗?
For the most part, AX forms seem to follow the AOT layout and appear in order. However, in some cases, the form items appear in seemingly arbitrary order, and in others, the items in the AOT won't even reorder. No matter how you drag and drop items in the AOT, they are always in the same order. This problem happened on occasion in AX 2009, but seems to be worse in AX 2012. The only way I've found to get around it is to drop the non-reordering items and recreate them.
Has anyone else had similar experiences? Anyone have a fix?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,我发现拖放只能在部分时间起作用。但是,如果您使用 ALT + 箭头键在层次结构中上下移动项目,这似乎工作得很好。
Ok, I've found that dragging and dropping only works part of the time. However, if you use ALT+the arrow keys to move items up and down in the hierarchy, that seems to work just fine.
从我阅读您问题的方式来看,您似乎指的是表单中的控件布局。如果您的问题是关于其他问题,请澄清。
要更改表单控件布局,您需要使用 AOT \Forms[FormName]\Designs\Design 节点。您可以拖放控件和控件组。
如果您拖动一个控件(我们称其为“dragControl”)并将其放在另一个控件(如“dropControl”)之上,则 DragControl 将被放置在 dropControl 之后。这意味着,如果要更改控件组的第一个控件,则需要拖动第一个控件,因为将任何控件放在第一个控件的顶部都会将它们放置在第一个控件之后。
还要确保您的表单没有发生某些较高层的更改,这些更改会覆盖您在较低层中所做的更改。
这能回答你的问题吗?
The way I read your question it seems you are referring to control layout within a form. If your question is about something else please clarify.
To change form control layout you need to use AOT \Forms[FormName]\Designs\Design node. You can drag and drop controls and control groups.
If you drag a control (let's call it "dragControl") and drop it on top of another control (say "dropControl"), then dragControl will be placed after dropControl. This means that if you want to change the first control of a control group, you need to drag the first control, as dropping any control on top of the first one will place them after the first control.
Also make sure your form does not have changes is some higher layer that would override the changes you are making in a lower layer.
Does this answer your question?