Comments (7)
I check the code into details about this issue in today ,
I found maybe we need more work around this ,
My code only setting then the type is "text" and "keyword", the default value will be add into field.
in follow format :
<field listdisplayseparator="newline" listinputseparators="comma semicolon newline" linespacing="1" spacebefore="1" spaceafter="1" useappletinbrowser="false" allowtabout="false" defaultfocus="false" storelocally="false" alignPardef="left" listPardef="none" type="text" kind="editable" computeaftervalidation="false" allowmultivalues="false" width="100pt" height="30pt" bgcolor="#ffffff" name="test">
<code event="defaultvalue">
<formula>@Now</formula>
</code>
</field>
So, maybe the datetime also in this format.
I add this type , but for other type : color,number,richtext,timezone,names,etc,all follow this format ?
and maybe we need check this into details from the dxl export from Designer , then we can let the defaultvalue work correct for these all types.
from moonshine-ide.
Now, I let the default value work for all types on above format ,but maybe it will broken the ODP build.
I can't sure all types work on this format.
So, if you build fail with the default value, let me know and post the correct dxl format from Designer,
Then I will update it in next.
from moonshine-ide.
The client objects,contain 4 types, it look like not support for all object and type,
so , I think maybe we need more careful in here.
from moonshine-ide.
To test, I built a form in Moonshine with default values for each of the core types. The default values were populated as expected:
TODO:
- Test multivalue types
- Test more types
- Test the other Client Objects - this might be outside the scope of this issue.
from moonshine-ide.
@feather812002, if you can run the missing test cases (and document your tests in the issue), that would be helpful. You should be able to test like this:
- Create a Form
- Add a new field for each type, and set a default value
- Save the Form
- Build the database
- Open the database in the local Notes client
- Open the form, and check that the default values are populated.
If you are missing something you need to run these tests, let me know. I know you don't have access to Domino Designer, but that should not be required here.
from moonshine-ide.
Testing from @feather812002
09:11:33: I also test the default value , from my test,
most type should work fine
09:12:10: I can open it with Designer and all default value show correct
from moonshine-ide.
Here is a quick test of the each of primary field types in the Notes client. I see the default values are showing like I expect, so this looks good:
from moonshine-ide.
Related Issues (20)
- "Reset to Default" do not clears recently opened items' list HOT 8
- Jump CMD+Click to specific framework class displays hash HOT 2
- LotusScript Compilation and Validation HOT 12
- Support for YAML-Based NSFODP Projects
- Fine-Tuned Control for "Reset all Settings"
- Topicbox Integration HOT 2
- Visual clarity between Tab and Space characters in Moonshine-IDE editors HOT 3
- Workspace Dropdown Should Match Width of Control HOT 2
- Notes ID Profiles for Vagrant Instances HOT 3
- Report Warning for Project > Build on Vagrant for Domino 12.0.2
- Deploy to Vagrant Server popup should have ability to edit launch url HOT 9
- Generated Apache Royale CRUD project out of ODP NSF shouldn't use 127.0.0.1 HOT 1
- Design Backups for Database Actions
- Workflow View HOT 3
- Project-Specific Action Bar HOT 1
- Secure Vagrant REST API Communications
- Focus In/Out Errors for Text Editors HOT 4
- Build nsf database on Vagrant throws error HOT 16
- Create full build process on GitHub Actions HOT 2
- Moonshine Notarization Problem for 3.3.4 Release HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moonshine-ide.