Sitecore 7 Media Framework tab not visible - sitecore

We have migrated brightcove from one environment to another by taking items related to brightcove from the existing environment and moving files manually.
However in the new environment brightcove seem to be working(I tested brightcove import/export/cleanup by adding those buttons to MyToolbar as shown in screenshot 2) except for the below issue.
Issue: ”Media Framework tab is not visible in the ribbon”
Screenshot 1
ScreenShot 2
Can you help me on this? Any idea on how to enable that tab?
Package Details are as below:
Sitecore Media Framework rev. 130924.zip
Items in the above package:
core\sitecore\content\Applications\Content Editor\Menues\Media Framework
core\sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework
core/sitecore/content/Applications/Content Editor/Ribbons/Strips/Media Framework
core/sitecore/content/Applications/Media/MediaFramework
core/sitecore/content/Applications/WebEdit/Custom Experience Buttons/Embed Media
core/sitecore/layout/Layouts/Media/EmbedMedia
core/sitecore/layout/Layouts/Media/Uploader
core//sitecore/system/Field types/MediaFramework
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/Embed Link
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Default/Toolbar 1/Embed Media
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Toolbar 1/Embed Media
core/sitecore/system/Settings/Html Editor Profiles/Rich Text Full/Toolbar 1/Embed Link
master/sitecore/layout/Placeholder Settings/embedMedia
master/sitecore/layout/Sublayouts/Media Framework
master/sitecore/media library/Media Framework
master/sitecore/system/Modules/Media Framework
master/sitecore/system/Settings/Analytics/Page Events/Media Framework
master/sitecore/system/Settings/Analytics/Reports/Reports/Media Framework
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Completed Videos
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Popular Videos Started But Not Completed
master/sitecore/system/Settings/Analytics/Reports SQL Queries/Most Started Videos
master/sitecore/system/Settings/Buckets/Settings/Quick Actions/Media Preview
master/sitecore/system/Settings/Rules/Command Rules/Actions/Set Command State
master/sitecore/system/Settings/Rules/Command Rules/Command State Rules
master/sitecore/system/Settings/Rules/Command Rules/Rules
master/sitecore/system/Settings/Rules/Common/Conditions/Media Framework
master/sitecore/system/Settings/Rules/Item Saved/Rules/Clear Media Framework Rules Cache
master/sitecore/system/Settings/Rules/MediaFramework
master/sitecore/system/Settings/Validation Rules/Field Rules/Media Framework
master/sitecore/templates/Branches/Media Framework
master/sitecore/templates/MediaFramework
master/sitecore/templates/System/Rules/CommandStateRule
Sitecore Media Framework Brightcove rev. 130924.zip
Items in the above package:
core/sitecore/content/Applications/Content Editor/Menues/Media Framework
core/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework
master/sitecore/system/Modules/Media Framework
master/sitecore/system/Settings/Rules/Command Rules/Rules
master/sitecore/system/Settings/Rules/Insert Options/Rules/MediaFramework Brightcove
master/sitecore/templates/Branches/Media Framework
Thanks,
Suhas

You missed the /sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Media Framework item.

Use AccessViewer and see which role is denying read access to "/sitecore/content/Applications/Content Editor/Ribbons/Ribbons/Default/Media Framework" and "/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework" items in core DB.
I found read access to "/sitecore/content/Applications/Content Editor/Ribbons/Chunks/Media Framework" is denied for "Sitecore client users" role, assigning read access to Media Framework chunk item and its descends fixed the issue.

Sorry to give an almost link-only-answer, but Maras is right. You haven't migrated the Sitecore user interface customisations, tools and commands across. These all live in the "core" database.
Mark Stiles has a blogpost that describes the Brightcove files and items in detail, here: http://www.markstiles.net/Blog/2011/03/16/brightcove-in-sitecore.aspx
Look for this section "Inside Sitecore itself there are also a good number of items that you should know about. First in the core are the content editor tabs. These are pretty essential to giving the end user a good UI to work with when they want to view a preview a video in a player or edit an item or even add images to a video. I'll go more into what those look like further into the article."

Related

Clear all Sitecore Experience Profile data

I tried removing some Contacts from mongo db with Robomongo but Sitecore still lists my contacts in Experience Profile dashboard and now when I click on each I get a not found error now for the ones I deleted.
Is there a way to clear all the Experience profile data to have it like on a fresh installation?
You should follow the instructions from the Walkthrough: Rebuilding the reporting database article. and delete all the files in sitecore_analytics_index folder

Sitecore freezes when trying to define WFFM (Web Forms For Marketers) restricted placeholders

I have the latest version of WFMM (Web Forms For Marketers) for Sitecore. When I try to define the restricted placeholders from Desktop -> All Applications -> Web Forms for Maketers -> Restricted Placeholders everything freezes, including IIS.
I have no errors in the browser console or Sitecore's log.txt.
I has same issue with Sitecore 8.0 rev. 150621 (Update-4) and Web Forms for Marketers 8.0 rev. 150625. Sitecore Support helped me:
The //*[contains(#Allowed Controls, '{0}')] query runs on all items from the database. We apologize for any inconvenience this issue may have caused.
I changed the query to search items only under the root item: .//*[contains(#Allowed Controls, '{0}')]
Could you please follow the steps below to address the issue:
Copy the attached Sitecore.Support.406505.dll assembly to /bin folder.
Change the implementation class for forms:selectplaceholders command in forms.config file:
from
<command name="forms:selectplaceholders" type="Sitecore.Forms.Core.Commands.RestrinctingPlaceholders,Sitecore.Forms.Core" />
to
<command name="forms:selectplaceholders" type="Sitecore.Support.Forms.Core.Commands.RestrinctingPlaceholders,Sitecore.Support.406505" />
Here is the linked to the mentioned dll: Sitecore.Support.406505.dll
Restricting Placeholder dialog is an quick way to add WFFM sublayout form and view form to Allowed Controls field in placeholder settings. Selection of placeholders is maintained on last step of installation of module. Everything is already installed, you just need to follow manual poststeps(attach DB, etc). You can continue without solving this problem.
And if you don't have a huge amount of placeholders then it is quicker to do it using Allowed Controls field rather than trying to find root of the problem.

File browser with Django and Alfresco

I have a Django site and a local install of Alfresco (community edition). One of my model contains a file reference which maps to a document in Alfresco. The view should have a field that spawns a file browser that can access the repository structure within Alfresco so that the user can pick whichever file they want at whichever version.
I looked at the CMSIlib module and it seems to be providing all the interaction I need for the back end code. Although downloading a document seems clunky.
There are lots of Django file browsers but none seem to interface with CMSIlib.
Do I have to code my own or have I missed something?
The version is Alfresco Community v5.0.0 (d r99759-b2) schema 8022 Spring Surf and Spring WebScripts - v5.0.0.
To be honest, I am not a python guy ! But I heard over the official #alfresco IRC channel that cmislib is not so much of an active project, and questions about it only bump once in a while .... The RESTful api however may be considered as a good alternative in your use case:
To access alfresco content using the RESTful api, you should be querying this webscript: /alfresco/d/<d|a>/<workspace>/<store>/<nodeId>/<filename>
where :
d and a refer to direct / attached mode
<workspace>, <store> and <nodeId> reference your content nodeRef
<filename> a file name of your choice
So you should be making a GET Request an a URL that looks something like this http://<host>:<port>/alfresco/d/d/workspace/SpacesStore/8444ad61-4734-40e3-b2d4-b8b1c81347fd/myFile.ext
Note : Depending on the permission set on your node, you might need to attach an alf_ticket to the URL for an authenticated alfresco user. Please check this for further insights.
UPDATE 1:
If you have a problem identifying your file nodeRef, then you can setup a repo webscript implementing your custom logic (browsing some folder / searching for a document by name or metadata ....)
If your are not familiar with webscript development check Jeff Pott's tutorial on the subject
UPDATE 2:
To get started with your webscript development check out Alfresco docs/wiki!
Check this wiki page to learn how to retrieve children for a given node !
Or check this wiki page to learn how to develop webscripts implementing your custom business logic.
If you do not have anything against the YUI javascript library (that is no longer actively maintained), you can integrate the object-finder already available in Alfresco Share. The library is in
share/components/object-finder/object-finder.js
You will need to modify it a bit given that you are not inside Share.
To be totally honest, I do not know if it is feasible because it has other dependencies but being a browser site library, in theory can be integrated everywhere.

Media Library not listing any media items when browsed from Image Field of an item in content editor in sitecore

Media Library not listing any media items when browsed from Image Field of an item in content editor.
Steps to reproduce:
Create an item from Content Tree
Browse for an image from Image field.
Media Library UI displayed without previously uploaded images.
Expected : Media Library should display all media items available.
Note:
Inconsistency observed on multiple attempts(occasionally loads with a delay of 20 seconds - Is there any solution/fix to reduce this delay?)
Network is not an issue
User is having all the necessary roles and permissions.
Issue observed in all the browsers.
Version: Sitecore.NET 7.1 (rev. 130926)
Any help would be appreciated in knowing the root cause for Media Library not listing the media items.
Please see below attached screenshot -
Make sure your indexes have been built. The Sitecore 7.1 image UI uses the search API to display content, so if the indexes haven't been updated/build properly it will not show any data.
You can rebuild your indexes by logging into the desktop, click the Sitecore button in the bottom left, go to Control Panel and select Indexing. Click the Index Manager and follow the wizard to rebuild.
Have you specified a data source in the media field? That version of Sitecore has a known bug where such sources doesn't work. If so, ask Sitecore support for the workaround patch for this.
In Sitecore.Speak.ItemWebApi set allowanonymousaccess to true for the site name="shell"
This resolved the issue.
We have to enable the Sitecore.Speak.ContentSearch.Solr.config if using SOLR.

Where are stylesheets typically stored in Sitecore 6.2

I'm taking over the day to day maintenance of a sitecore 6.2 installation for a corporate website. The vendor that originally designed and constructed it are no longer available to contact for information. Also, no documentation has been written on how it was designed or constructed.
My asp.net skills are good and I do have some understanding and exposure to Sitecore and will be attending training soon but in the meantime can anyone give me some ideas as to where a vendor would put the stylesheets that control the design and layout of a Sitecore website.
There's no specific location, its up to the developer. Sitecore is a CMS that needs to be integrated into a custom solution. Part of that custom solution gives the developer the option to put the CSS wherever he/she wants. Best idea: right-click, view source and look for the path(s) to CSS files.
To help you better understand the basics of presentation architecture, take a look at a Very Simple Web Site documents on the Sitecore Developer Network. Also review the Fundamental Concepts document.
Essentially, you can have your style sheets wherever you want (i.e. CSS folder), but you'll usually find reference to style sheets in a Sitecore Layout. Often, developers will use a presentation component to retrieve the file reference from a field that stores the CSS file path in a Sitecore Item. A Sitecore Layout is an item of type layout in the content tree and an .ASPX file.
Make sure you know how Sitecore references media stored in the media library for CSS. Also look for forum posts on how to handle CSS references for Rich Text Fields.
Depending on your deployment systems architecture, there are other considerations for working with style sheets. One is publishing. If you publish from an authoring environment to a live website environment, you’ll want to make sure you copy your CSS files and any other file system references (like media NOT in the media library). This can be accomplished through the staging module. If your using Sitecore CMS 6.3, there are newer approaches.