Sitecore item deletes image on save - image

We have a pretty large website running on sitecore 7.2.
On a couple of items we noticed a certain problem.
Everytime we link a picture to the item and we save it,
the item is saved without the image.
The items are of the same template of 900 other items, so i don't think it's a template problem.
I can link the images on other items without a problem, so i can exclude these too. (i think)
When i search the logs, nothing is found. No ERROR can be found.
Can someone help me in this problem?
EDIT
After searching in the database for the records, i found these:

You need to get the ghost value out of Sitecore's "shared fields". For the item ID's in question, take a look at the [SharedFields] table in your "master" database.
SELECT * FROM [SharedFields] WHERE [ItemId]='your item id' AND [FieldId]='your field id'
If I am right, you will find values here. If the field is no longer shared, these should be safe to remove.
Always though, when messing directly with the database, backup etc. :)

Related

Form and Report on same page (Form as detail of selected report page)

I am curently moving my small business app from ms access to Oracle Apex 20.
What I need is a page that shares both the report where I would select a row with record and form element at the top of page that would show details of the record.
Can someone give me an advice on how to start? I tried creating a blank page and inserting report and form elements manually but I am getting error No Primary Key item has been defined for form region rep7.
I suspect I need to connect the form and report with primary keys but don't know how. Closest I've been to solving my problem was watching this:
https://www.youtube.com/watch?v=H-hoMcMIs9g&ab_channel=MostafizMitul
but I couldn't quite decipher it.
Thank you
Jakub
The way you described it, it is a page whose type is Master Detail. Just follow the wizard, it'll create everything for you.
True - you can do it yourself, manually, but - why reinventing the wheel? The whole idea of Apex is to make things simpler for us, developers, to save us from boring actions we'd repeat over and over again. Let the wizard do it!

CloudKit Dashboard - Setting the field that gets displayed in the left hand column

I find the CloudKit dashboard buggy and lacking very basic features, which I find shocking for a product that is two years old and built by Apple. Most of these problems I have found workarounds for. However, I have been unable to find a workaround for my latest issue with the dashboard. I hope someone can help me.
I have a record type that has numerous fields, including one called "patientName" (type String). Until my latest change, when I click on "Default Zone" to view my records, the patient name would appear in the left hand column along with the record id. This made it easy to scroll through the list of patients until I found the patient that I wanted to view or edit.
I just added a new field to this record called "patientAlias" (type String). Now when I click on "Default Zone" to view my records, "No Name" appears in ALL entries in the left hand column. This is the value of "patientAlias" field that I just added. This makes it impossible to find a specific patient quickly.
Does anyone know how you can force the dashboard to use a specific field to display in the left hand column? Using the 'Sort by" pulldown has no affect on what gets displayed.
Currently trying to tame the CloudKit myself :-)
CloudKit will use the field name or title if available. Otherwise it seems to just take a field of its own choosing.

Serena Dimensions: Find list of items checked out by a specific user

Is there any way where we can see the list of items that have been checked out by a specific user.
Items checked from a project are recorded in the database as a place-holder revision with the next number in sequence. Generally they will appear in the user's pending list (inbox) and will show with state "$TO_BE_DEFINED". Arrange your desktop client views to show state, along with user names and dates (use Customise Views under Tools menu) and you can sort and filter columns to show information you need. You can even add User Filename to the views and you will see exactly where the file was checked out to.
The desktop client is very powerful but needs some customising as the out-of-box standard views are very limited.
With appropriately set privilges a user can inspect other users' inboxes. A team leader could set up some simple reports to show numbers of checked-out files against users.
There are so may ways to achive this - but I agree it is not obvious to a new user.
Menu, EDIT/FIND/ITEM
On Tab Option:
STATUS=$TO_BE_DEFINED
ORIGINATOR=?user?
Click on tab Find Now
I am still using dimension in 2019. Let me add relevant snapshots as well. I struggled with this let this answer be so no one has to struggle again.
On Web View
You can add a column Checked Out By and then use that column to arrange the files accordingly.
To add on Web View you can first go to your user preferences as shown below:
You can add the "check out" column by taking it from available columns as shown below:
You should now able to rearrange file in views by clicking on the check out column. The files will arrange first on ascending order of usernames and then by descending order.
On Desktop Client
My item list view looks something like the following which doesnt have a "Check out" column in the view.
One way to find out the files check out is using find item. You can find this in Edit -> Find -> Items. Looks something like this.
You can fill in the data as follows: Status as $TO_BE_DEFINED and User Name to the user you want to search for. .
On Clicking open you will get the results in the items(Find Results) window.
Hope the snapshots helps.

Abbyy Flexicapture - Dropdown

I am trying to create a dropdown in AbyyFlexicapture.
The dropdown should be filled from database (i have external DLL ready to do the job) or with fixed values. The problem is I cant find the appropriate element for the job. All i found (the closest) was checkbox group, but I dont know how to use it (add items programaticaly). The documentation on this is very poor ...
Any help would be appreciated!
Figured it out. You just push data to textbox with query and it gets auto-converted to dropdown. But theres no way (at least known to me) how to set up default selection...
Look at the IField.Suggest() method.

com_zoo related items depend on category

What I really want is to have in my com_zoo app items description page a custom block what is showing the related items to clicked one. So one I found out, that it can be made it manually adding to every specific item the related items. The problem is that is not generated dynamically.
My question would be:is it possible from the actual administration tasks to handle this or it has to be coded. If it has to be code, what is the shortest way to achieve results. should I build a custom element or there is another way to do it?
thanks
Your related products module may be based on your product tags, for example.

Resources