Code Monkey home page Code Monkey logo

Comments (6)

JoelProminic avatar JoelProminic commented on June 12, 2024

Here is a DXL Example:
image

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE database SYSTEM "xmlschemas/domino_11_0_1.dtd">
<database xmlns="http://www.lotus.com/dxl" version="11.0" maintenanceversion="1.0">
  <form name="TestFormProperties" hide="notes web v4" noreplace="true" propagatenoreplace="true" publicaccess="false" designerversion="8.5.3" renderpassthrough="true">
    <body>
      <richtext>
        <pardef id="1"/>
        <par def="1">Test</par>
      </richtext>
    </body>
    <item name="$$ScriptName" summary="false" sign="true">
      <text>TestFormProperties</text>
    </item>
  </form>
</database>

Testing the note format, it looks like these properties are tracked in the $Flags element:

  <item name="$Flags">
    <text>Pr456789wn</text>
  </item>

From my tests, it looks like this is the mapping:

Label $Flags
"Prohibit design refresh or replace to modify" P
"Propogate this prohibition of design change" r (recursive?)
"Do not show this design element in menus of Notes R4 or later clients" 456789 (enumerating versions 4-9)
"Hide design element from:"
"Web browsers" w
"Notes R4.6 or later clients" n

I'll update this table if I do more tests

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 12, 2024

I confirmed this is not merged to master, and I don't remember where we left off on this. I'm bumping this to the next release, and we can revisit after #1009 (so that we don't need to switch back and forth for the Bamboo builds).

from moonshine-ide.

feather812002 avatar feather812002 commented on June 12, 2024

@JoelProminic
I check this again in today , I merge master into this branch and to do some test
image
And I test the $FLAG , it match your table list on above,
So, it already ready for merge to master in next.

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 12, 2024

When revisiting the milestone, I thought this issue was part of the #1009 branch, but I see it is on branch features/issue-1215-design-properties-for-form. I updated Bamboo to generate a test build

The build is currently failing with this. I remember seeing a similar build error recently - I think master needs to be merged into this branch again:

build	27-Mar-2024 18:08:39	    [mxmlc] /Users/mmb/bamboo-agent-home/xml-data/build-dir/MS-BMOB-JOB1/Moonshine-IDE/ide/MoonshineDESKTOPevolved/src/actionScripts/utils/EnvironmentSetupUtils.as(368): col: 36 Error: Access of possibly undefined property HAXE_SYMLINK_COMMANDS through a reference with static type Class.
build	27-Mar-2024 18:08:39	    [mxmlc] 
build	27-Mar-2024 18:08:39	    [mxmlc] 					setCommand += HelperConstants.HAXE_SYMLINK_COMMANDS.join(";") +";";
build	27-Mar-2024 18:08:39	    [mxmlc] 					                              ^

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 12, 2024

@feather812002 fixed the build. I did some tests and confirmed:

  • The new properties show up in the form UI (MainApplication)
  • The properties are preserved if I close and reopen the form
  • If I open the generated database in Designer, I see the properties are set correctly. I tested a variety of combinations here, including the default values.

@feather812002, this should be ready for a merge into master.

from moonshine-ide.

JoelProminic avatar JoelProminic commented on June 12, 2024

@feather812002, did this get merged? I thought we had discussed this, but I see the issue didn't get updated.

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.