Code Monkey home page Code Monkey logo

Comments (6)

JoelProminic avatar JoelProminic commented on June 11, 2024

Doing a DXL export test, I found the Text Sort Order and Unicode Standard Sorting are associated with these items

image

  <view ...>
    ..
    <item name="$VIEWCOLLATION">
      <text>he</text>
    </item>
    <item name="$CollationType">
      <text>@UCA</text>
    </item>
  </view>

Unfortunately, I don't see documentation for these items. They seem to be part of the epilog:

Most notes that are design elements, such as forms or views, are highly interpreted when manipulated by DXL and therefore the note epilog for these elements consists of only a few uninterpreted elements.

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 11, 2024

To test this, I set all of the options available in Moonshine:
image

And then built the database and opened it in Domino Designer:
image

So it seems that we do not have the right properties for "Propogate..." and "Do not show...". This will need more investigation in the DTD

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 11, 2024

Here is the XML from Domino Visual Editor:

<view 
    name="TestViewOptionsAll" 
    hide="web notes" 
    showinmenu="true" 
    noreplace="true" 
    publicaccess="true" 
    unreadmarks="none" 
    onopengoto="lastopened" 
    onrefresh="displayindicator" 
    opencollapsed="true" 
    showresponsehierarchy="true" 
    showmargin="true" 
    shrinkrows="false" 
    extendlastcolumn="false" 
    showhierarchies="false" 
    unreadcolor="black" 
    rowlinecount="1" 
    rowspacing="1" 
    bgcolor="white" 
    totalscolor="black" 
    headerbgcolor="white">
  <code event="selection">
    <formula>SELECT "$FormName" = Form</formula>
  </code>
  <column sort="ascending" categorized="false" separatemultiplevalues="true" totals="none" hidedetailrows="false" width="27" resizable="true" sortnoaccent="true" sortnocase="true" showaslinks="false" itemname="$0">
    <font color="#000000"/>
    <columnheader title="UNID">
      <font name="sans-serif" style="bold" size="9" color="#000000"/>
    </columnheader>
    <code event="value">
      <formula>@Text(@DocumentUniqueID)</formula>
    </code>
  </column>
</view>

I set all of the missing properties from the above screenshot in Domino Designer and exported the DXL. The result looks like this:

<view 
    name="TestViewOptionsAll" 
    hide="notes web v4" 
    showinmenu="true" 
    noreplace="true" 
    propagatenoreplace="true" 
    publicaccess="true" 
    designerversion="8.5.3" 
    unreadmarks="none" 
    onopengoto="lastopened" 
    onrefresh="displayindicator" 
    headers="beveled" 
    opencollapsed="true" 
    showresponsehierarchy="true" 
    showmargin="true" 
    shrinkrows="false" 
    extendlastcolumn="false" 
    showhierarchies="false" 
    unreadcolor="black" 
    rowlinecount="1" 
    headerlinecount="0" 
    rowspacing="1" 
    bgcolor="white" 
    totalscolor="black" 
    headerbgcolor="white" 
    boldunreadrows="false" 
    evaluateactions="false" 
    allownewdocuments="false" 
    allowcustomizations="false" 
    hidemarginborder="false" 
    marginwidth="0px" 
    marginbgcolor="white" 
    uniquekeys="false">
  <code event="selection">
    <formula>SELECT "$FormName" = Form</formula>
  </code>
  <column sort="ascending" hidedetailrows="false" itemname="$0" width="27" resizable="true" separatemultiplevalues="true" sortnoaccent="true" sortnocase="true" showaslinks="false">
    <columnheader title="UNID">
      <font size="9pt" style="bold"/>
    </columnheader>
    <code event="value">
      <formula>@Text(@DocumentUniqueID)</formula>
    </code>
  </column>
  <item name="$VIEWCOLLATION">
    <text>he</text>
  </item>
  <item name="$CollationType">
    <text>@UCA</text>
  </item>
</view>

Here is a diff:
image

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 11, 2024

For now, I'd like to match the labels in Designer. These are the properties I expect, with mapping information from my investigation.

Label Property
"Prohibit design refresh or replace to modify" noreplace="true"
"Propogate this prohibition of design change" propagatenoreplace="true"
"Do not show this design element in menus of Notes R4 or later clients" hide="... v4"
"Hide design element from:"
"Web browsers" hide="... web"
"Notes R4.6 or later clients" hide="... notes"

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 11, 2024

The updated interface looks like this:
image

The ordering is a bit messed up. I would like to see this ordered the same way as Designer:
image

Please also remove the extra options - I'm not sure how they will work if they are no longer used by Domino Designer.

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 11, 2024

The updated properties look like this:

image

I did some tests to confirm that these were set like I expect.

This should be fine to merge along with #1016. Note that the original issue also had updates on the form side, so I'll create a separate issue for this.

from moonshine-ide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.