2sxc Dropdown list string don't appear - 2sxc

I have a problem on a dropdown list, I need to edit it and add some options, but I can't or better I dont' find the string list?
Click there for see Dropdown list string is empty
Can You help me?
i have other dropdown in this app and the other work well
thanks
Fabio

You are probably affected by an upgrade-issue. 2sxc had to do a change in the field-definition structure when the UI went to angular in 8.0. What happened is this
Previously the entity describing the #String for an input-field had too many properties - many of which never applied to the specific field (like a length-field, which didn't apply to a drop-down).
In 2sxc 8 this was changed, so a string field now has 3 metadata entities describing what the UI should show
#All - containing the main properties like name, help text, required
#String - not containing anything any more
#string-dropdown - containing the settings only relevant to drop-downs
The #String-metadata entity still exists to ensure old UIs still work, but it's deprecated. So the values don't show up any more. But :) you can still get it from debug-mode, to then copy the values to the new container. Here's how:
Go to the admin > data UI
Go into debug mode (Ctrl+Click) http://2sxc.org/en/Blog/post/debugging-2sxc-8-enter-advanced-mode-with-control-click
now open the UI - you should see all hidden fields now

Related

Block Theme Template parts - Why saving a part updates the other ones?

I was wondering what could be wrong with this...I am building some parts of "new" Full Site Editing and notice that when I am going to save one of its parts, on the sidebar it shows other parts to save/update.
In the example in the screenshot, I am just editing the navbar template part, but see the other things present to be altered, even if they are not available in this part to be edited. There is another model "Header", there is a page "Home" and seven reusable templates to be saved!
The issue with updating the whole site this way is that I don't know what is being changed.
Do you know any configuration which should be done not to this occur? Or is there any documentation that explains this new paradigm? Or is it a bug to be fixed anytime?
In fact, I did press the button one with all the checkboxes marked and some of the other template parts went away emptied (I gone nuts).
See in the second attachment that I could go back and retore previous state (thank goodness!)

Deleting demo rows in a 2sxc list (2sxc 8.5.6)

If a blank demo row (denoted as (0)), gets created in a list by mistake you are able to see it in the 'Manage content-item lists' window, but they have no edit icon or any way to delete them. Is there another way to get rid of these extra unwanted items? they also don't show in the admin area.
Thanks!
The reason you don't see it is because it doesn't really exist yet. It's just a slot / placeholder. So there is no item.
Basically you should only have this in situations where you have list-enabled, hit the round (+) for add another placeholder-item. I believe the (-) is missing on the first item, because that could cause side-effects.
There is a way to go into advanced admin to remove it, but it's hard as this is not a normal thing to do - when you have a list, you usually want to add content.
Since you have not added any data yet, I would simply remove the module and add another one - that's easier than going the advanced admin.

How to create a temporary cursor in meteor

Im working on a mobile app that needs to display a suggested set of data and will not update as the user removes suggestions and will show as empty if the user removes all (5) entries in the set. If been trying with reactive:false which seems to work but starts after second item removed. Anyone have a way to achieve this?

Showing Editors on click of a node in Xtratreelist

I am using the latest version of DevExpress XtratreeList and have a requirement of showing editors on click of each node on the tree. Please see this screenshot http://community.devexpress.com/forums/p/89574/310095.aspx
I am wondering how i can dynamically save and render a specific editor(rather a form) per node on the treelist. Clicking on "Friends" in the screenshot should bring up a different editor as compared to clicking on "Parties". Also, if a user tries to add more objects on the editor for Parties/Friends like say a Textbox/Listbox, it should be saved and come up fine when i click the nodes. Does anyone have ideas regarding how do i dynamically bring up different editors on click of a random node on the lefT?
This can be done by handling the TreeList's FocusedNodeChanged event. All you need to do is to determine the current FocusedNode and its values and show the required editor.

sitecore template standard values layout not updating all items, layout not loading

i'm currently having a nightmarish moment with Sitecore. Basically my issues are two-fold:
1) the first time i added a standard value item to a template, and added a layout setup to it, i was thrilled, since all my items from that template were showing the layout, however now, certain items are now showing no layout at all. I tried doing presentation->layout, reset several times, but to no avail.
2) i added a new sublayout to the standard value layout to another placeholder, did publish on the template (republish everything, publish subitems), then publish on the standard values item again, just in case (should not be needed), i click on all items from the template, and they show the updated layout with the new sublayout (should be good, right?) however, i browse, both live and with preview to the pages and i am still seeing the old layout without my new sublayout.
- I added a breakpoint in the page_load of the new sublayout but it never hits, the others do
- I tried cleaning the cache on sitecore/admin/cache.aspx, but did not help
- tried recycling the app pool, restarting the web site, spreading black rooster' blood over the machine, nothing seems to helps
i am using sitecore 6.2.0 (rev. 100701), visual studio 2008 SP1, IIS7 in integrated mode
Basically the way to do it is set layout on the Standard Values, which should update all items, that haven't had their layout overwritten on the item or by a branch.
This is the key to the issue. If your items that aren't getting updated with the template standard value layout were created using a branch, check to make sure that branch does not also have layout details associated with it. If the branch has layout details in addition to the template, the two will conflict and cause really odd, frustrating behavior.
I encountered the exact same scenario, but after removing the layout details from my branch the issue went away.
Sounds strange... usually this only happens, when you have a "conflict" between layout set on Standard Values, template/branch.
Basically the way to do it is set layout on the Standard Values, which should update all items, that haven't had their layout overwritten on the item or by a branch.
I really dislike branches, so always try to avoid them (the only real use when they were Masters were for building hierarchies of items).
Could you try to look in the __layouts field (View > Raw values) of the items and see if anything is entered there?
And is it only some items or all items based on that template?

Resources