Questions tagged [data-objects]
98 questions
1
vote
0 answers
Powerbuild Dateobject to java
i am doing a task converting VB script written from Powerbuild to java,
i am struggled at converting the DataStore Object into java ,
i have something like this :
lds_appeal_application = Create DataStore
lds_appeal_application.DataObject =…

GlassMan
- 31
- 6
1
vote
0 answers
Sheadawson Silverstripe Blocks: Blocks within blocks
I'm using Shea Dawson's silverstripe blocks module and I'm wondering if there's a way to have blocks within blocks?
For example: I'm trying to create a "Grid" Block, and within that grid block I'd like the user to be able to "Add a block".…

Dallby
- 596
- 4
- 19
1
vote
0 answers
How to build multiple complex nested objects from a database request result set?
I'm working on a Zend Framework 2 application with a complex class (Foo) having many levels of nesting (Foo.Bar, Foo.Baz.Buz etc.). The data is stored in a relational database (MySQL). On the application level it gets hydrateed to DataObjects by the…

automatix
- 14,018
- 26
- 105
- 230
1
vote
1 answer
Vuejs Saving Data
I have a fairly complex app which take the user through a 5-step process. I have a data object called userData which contains all their entry info (name, age, weight, heigh,etc).
At a certain point in the app I would like to take a snapshot of this…

LeBlaireau
- 17,133
- 33
- 112
- 192
1
vote
1 answer
Syncano conditional filtering on multiple fields
I'm trying to list the DataObjects in a class. I want to filter the list of DataObjects based on a conditional query on multiple fields.
To select a DataObject based on field1 = xxx or field2 = xxx
For eg:
In class…

Shefali Agarwal
- 61
- 8
1
vote
1 answer
Silverstripe 3.2: How to make a custom action button in the CMS to create a new Dataobject and populate it from another one
I'm searching for a way to create a custom action button which allows me to make a new DataObject with pre-filled content from another DataObject. As a simple example: When I have an email and click the "answer"-button in my email-client, I get a…

iraira
- 315
- 2
- 13
1
vote
1 answer
When to use Page vs Dataobject in Silverstripe
When to use Page vs Dataobject as ancestor in Silverstripe when creating data tables. I guess inheriting from Page class gives the data table page functionality but what are those page functionalities?

SIlverstripeNewbie
- 291
- 1
- 12
1
vote
1 answer
ModelAdmin screen for DataObject not opening
In SilverStripe 3.1.13 I'm trying to establish a simple one-to-many relationships between DataObjects administrated by ModelAdmin. There is a Facility class that can have one off FacilityCategory.
I can enter the Facility Category tab, but as soon…

user776686
- 7,933
- 14
- 71
- 124
1
vote
1 answer
Use XAML UserControl with dataobject as property , as DataTemplate in Gridview - Binding
I have a collection of Objects with dependencyproperties, and Observer patern as I feed realtime data in "AssetIHM" Object.
public class assetVM: DependencyObject ,IObserver
{
public assetVM(AssetIHM aihm)
{
…

Huh Lin
- 13
- 3
1
vote
2 answers
How do I sanitize form input in Silverstripe CMS
Can someone please direct me to an example of how to sanitise a field from a dataObject BEFORE it gets dumped in the DB?
I don't know where to look.
I want to clean some user input before it is saved to the SiteConfig.

Niels
- 353
- 1
- 6
- 15
1
vote
4 answers
Datetime object
How do I get the year and month from a datetime.datetime object? Here is the code
I have problems with:
w = whois.whois('http://stackoverflow.com')
datatime = w.expiration_date
print datatime
the printed object is:
[datetime.datetime(2015, 12, 26,…

Brana
- 1,197
- 3
- 17
- 38
1
vote
2 answers
Silverstripe 3 -Multiple Gridfields on one Page
i want to add multiple gridfields to one pagetype.
At the moment I'm doing it like this
$gridFieldConfig = GridFieldConfig::create()->addComponents(
new GridFieldToolbarHeader(),
new…

invictus
- 825
- 1
- 9
- 33
1
vote
1 answer
Loop Through an AJAX Called by Jquery that Pulled remote HTML, then Parsing the Data For Certain Criteria and pulling html tr
Okay To start off this is my first post so I apologize initially for any "Newbie" mistakes I may Make. I will try to be Detailed as possible and lay it out as best I can.
What I Am doing:
Creating a Chrome App for Internal Company…

DEVPROCB
- 483
- 2
- 5
- 19
1
vote
1 answer
silverstripe, how to use the doPublish()
I am working with SilverStripe, and I am working on making a newspage.
I use the DataObjectAsPage Module( http://www.ssbits.com/tutorials/2012/dataobject-as-pages-the-module/ ), I got it working when I use the admin to publish newsitems.
Now I…

Jeroen Neplenbroek
- 25
- 7
0
votes
0 answers
Add dataobject to a ampscript variable
I'm trying to add data as a tag property in a piece of JSON so that review site Trustpilot knows more details about the order confirmation we sent out.
I made the following setup but apparently this doesn't work. Trustpilot is giving me the feedback…

joren
- 89
- 1
- 9