[gold-users] Creating a Gold Custom Object

Scott Jackson scottmo at adaptivecomputing.com
Mon Aug 22 12:07:31 MDT 2011

I think you will need to use quotes. 

TestSchedule Create TestDate="2011-01-01" TestDescription=Testing 


----- Original Message -----

From: "Quang Ho" <quang.ho at hp.com> 
To: gold-users at supercluster.org 
Sent: Tuesday, August 16, 2011 12:18:52 AM 
Subject: [gold-users] Creating a Gold Custom Object 


I tried to create a custom object as below via goldsh 

Object Create Name=TestSchedule Description=”Test Schedule” 

Attribute Create Object =TestSchedule Name=TestDate DataType=TimeStamp 

Attribute Create Object =TestSchedule Name=TestDescription DataType=String 

Action Create Object=TestSchedule Name=Create Display=True Description Create 

Action Create Object=TestSchedule Name=Query Display=True Description Query 

When I tried to populate data into it, 

TestSchedule Create TestDate=2011-01-01 TestDescription=Testing 

It came back with: 

TestDate TestDescription 

----------- ------------------- 

2011 Testing 

Successfully created 1 TestSchedule 

The problem is it does not record a full date in database, it only stores the year in the TestDate field. 

To check the usage 

<Request action="Create"> 


[<Set name="TestDate" [op="Assign (Assign)"]>YYYY-MM-DD[ hh:mm:ss]|-infinity|infinity|now</Set>] 


[<Option name="ShowHidden">True|False (False)</Option>] 

[<Option name="ShowUsage">True|False (False)</Option>] 


Not sure what I did wrong. 

Thanks in advance. 

gold-users mailing list 
gold-users at supercluster.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110822/e9f44618/attachment.html 

More information about the gold-users mailing list