Configuring Global Toolbar on Siebel CRM - siebel

I have a requirement to remove some Global Tool Bar Item such as Apply Target List and Save Target List on Siebel CRM. Other Toolbar such as sitemap and query should stay.
But I cant figure the configuration. I have tried the following Object Definitions
1. Menu
2. Toolbar
3. Class.
I can't find Apply target list and Save Target List.
Although I did find apply target list and save target list under
Menu> Generic Web> Menu Items object definition.
I inactivated and compiled.
But the two Icons still appear on the Global tool bar.

Under Toolbar->HIMain-> ApplyTargetList & SaveTargetList are items. Did you try disabling them ?
Also , please look under Class [CSSSWEFrameList]
If you still cannot remove the Items and are using OpenUI, it could be possible to add a simple CSS rule to hide the entry in the menu list.

Related

Popup LOV item settings

Is it possible to disable Popup LOV item search bar and load by default all rows from SQL Query? Item has an JavaScript Initialization Code block, but I can find documentation how use it (for example like Rich Text Editor or Charts). For now I disabled Popup LOV search bar using CSS, but maybe there is another way?
There is no way to disable the search bar declaratively.
The CSS way is indeed your best bet.
Concerning the JavaScript Initialization Code attribute, the first thing I always do before putting anything in there is the following:
function(options){
console.log(options);
return options;
}
then checking the console. Usually you will see all of the declarative values and defaults for any other fancy things.
Your second option would be to check the actual source code, which usually includes some JSDoc. In the case of the Popup LOV, you want to look at this file. Of course the easiest way to get to these things is to put your app in debug mode, and navigate through the files in the Sources Panel.

Can I dynamically disable a drilldown in Siebel 7.8?

I have a list applet with a drilldown in one of the columns, and I want to enable or disable it based on another field's value. Something like a dynamic drilldown, but instead of choosing a different view, I want to disable the navigation for some of the records.
Can this be done in Siebel 7.8?
Ideally without server scripting... and definitely without ugly browser scripting hacks, please.
I have tried creating a dynamic drilldown, but it doesn't work because I have to specify a target view in my parent default drilldown. If I use an inactive view for that, then the whole dynamic drilldown is ignored and Siebel simply uses the one with the next sequence number.
I can think of a couple of ways to implement it, but both are far from ideal:
Writing some server script to detect the drilldown event before it happens, and abort it if needed with a RaiseErrorText message. It should be doable... but I'd rather disable the drilldown than throw an ugly error to my users.
Placing the drilldown in a calculated field, and make it have no text when there should be no navigation. If there is no text, there is nothing the users can click to drilldown, right? But I would have to add a new column just for the drilldown, which would be confusing for the users.
If you don't want any scripting. There are 2 ways.
First way is using toggle applet.
1.Main Applet will have the drill down down object. And Toggle applet will not have the drill down objects.
2.Create a field in the BC to use it in the Toggle Applet condition .Toggle Applet will be displayed when the drilldown is not required.
Second way you can achieve it is through visibility Type attribute in the drilldown object as well as visibility Applet Type attribue at the view level.

Create Type of Region Plug-In based on "List" Type of Region

I need to create a Type of Region Plug-In based on List Type of Region.
Standard List gets a List Navigation Shared Component and creates, for example, Card elements as a HTML tags with some href defined in the chosen Shared Component: List. But I need the ability to redefine all a elements as button elements and give them custom CSS classes and HTML attributes for each child element of a List region (for each button), not the List region itself. For example, to create a Menu Popup Card in the similar way as for a button (as described in this tutorial).
But I could not find any way to create a Plug-In with List settings by default but with ability to edit and add custom settings for my plug-in. Neither I found any existing plug-ins in community.
How to do it? Am I missing something?
No need to create a plug-in. If you need a custom Cards template for a region with List type, then go to Shared Components > User Interface > Templates and create it there as copy of Cards, then edit.
Damn it, why APEX is so hard to google? :D

Sitecore Insert options not working

I'm fairly new to sitecore and having lots of trouble. I found a couple of articles that show how to add items to the insert context menu of a template, and I was able to get it to work once, on one of my templates. It worked off of the root of the template. But this root has branches under, and when I try to set the insert options for those branches, it does not work.
I did not build this site so I am not sure what is happening.
Is it possible there is some security setting somewhere keeping it from working? Or could it be that they are not linking to individual module items, but perhaps a menu somewhere, and that maybe it is that menu that I need to update?
To make matters worse, I am not sure where I should be assigning these insert options. The articles I've read say to do it on the _standardvalues of the template, but under branches I see the template of the same name and it actually has the branch structure underneath, which is where I actually want the insert to be (under Column 5). I've attached a screenshot if it helps.
http://www.accriva.com/tree.JPG
The insert options for a template are always set on the _standard values of that template.
Branches are not templates. Branches use templates to define a common content structure which content editors need to re create often and therefore it saves the editors time.
To add insert options to your Column template. Either navigate to the template if you know where it is or click on the column 5 node in your branch, look at the quick info section of the item. There you will find a link to the items template. Click on the template link, the template should open. In the left hand menu expand the template so that you can see the __standard values. If you have no standard values then create them. Click on __standard values then select configure in the sitecore ribbon (top menu). Now click on assign within the insert options section and select the templates you wish this template to have as insert options.
Now your column template will have the insert options set correctly. If you dont see them then go back to your column 5 node in your branch, you may have overridden the standard value settings and hence wont see the correct insert options. To ensure your getting the correct insert options from your template, select the column 5 node then in the ribbon click on configure then reset within the insert options section this will reset your insert options to that set in the standard values of your template.
Now if you still don't see the insert option changes that you have made then go back to the column template, select its standard values. Click on assign in the insert options section of the configure tab. In the insert options pop up, look to your left. You will see an option to select insert rules. Click on that and check if you have any insert rules for this template. If you do then find the insert rule item under system/settings/insert rules. Once you have found it select the rule and it will contain a reference to a class within your solution. Use that reference to find the class in your solution and debug that logic, it may be enforcing insert options programmatically.

SharePoint - List of Folders

I'm trying to implement a list where the only item type is a folder. If someone click "New" they are brought to a form that allows them to enter a folder name, description, and select either "Active" or "Inactive" from a drop-down menu. Inside the folder I want a simple list with only 2 columns.
I tried making a custom Folder content type with the columns I needed and making it the default content type. This seems to work to make the list of folders. Once I go inside the folder and try to change the internal view/list setting (I don't want to use the custom folder content type inside the folder...i just need 2 simple columns) it changes the settings for the list of folders as well. Is there any way for the internal list to have different settings than its parent?
I don't know if this issue is still relevant, but maybe someone else will find my answer useful.
I used to implement a list that contains only folders in the root, which in order can contain few item based content types.
There was two event receivers for FeatureActivated and ItemAdded events, which changes UniqueContentTypeOrder property (the list of content types available for user to create) of the lists root folder and a folder being created respectively. Like this:
List<SPContentType> ctl = new List<SPContentType>();
foreach (SPContentType ct in lst.ContentTypes) if (ct.Id.IsChildOf(SPBuiltInContentTypeId.Folder)) ctl.Add(ct);
lst.RootFolder.UniqueContentTypeOrder = ctl;
lst.RootFolder.Update();
Also, I designated different available list views for root folder and the folders it contains, by specifying ContentTypeID attribute for a View definition.
Unfortunately, no. Since SharePoint is Lists are not relational data, the only options to you are allowing several Content Types. If a content type is available to the list, it's available to the entire list (root, and sub-folders).
One possibility to model what you are trying to accomplish relies on SharePoint 2010 Enterprise. Infopath allows you to customize the New Item Form for a List. It might be possible to edit the form such that it only allows Folders on the Top Level, and List Items within a folder, but I don't know for sure - it's been a while since I customized a List Form with Infopath.