-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I almost got it working, I just need a very small change in the code that I couldn't figure out.
The Idea
Have time slots for best time to post on social media platform and be able to choose them from a list in the content post.
Configuration Solution
- In "Schema" create a new class called "OTiming"
- Create 2 new properties:
- Edit OPContent class' property "when", change the type to "LINKLIST" (not 100% sure if this is right) and add Linked Class "OTiming"

- In Perspectives > OPoster create a new Menu item with url going to "/browse/OTiming"

Problem I'm facing
!! 5. Last step is to change the code to get something along the lines "when.timing" as it is now an array since the "name" attribute has been added. So I dived into the code to check out how this is done and I think I found it, but don't understand it unfortunately.
https://github.com/OrienteerBAP/OPoster/search?q=getWhen%28
I think the solution is simple and the code "getWhen()" should be changed to something like "getWhenTiming()", which obviously doesn't work. I have no knowledge of java nor from orienteer unfortunately, so I don't know where this function goes to "getWhen()".
A helping hand would be awesome! :)
