What happens If the Applet visibility Type Is Null?

Hi,

“What happens if the Applet visibility Type Is Null” is very common question which is has an answer in Bookshelf. I am just copied it below,

Visibility Settings
A view not set up with visibility settings (the properties Visibility Applet and Visibility Applet Type are
blank) means the following:

When navigating from another view to this view without visibility settings using the Show drop-down
list, the queries context and record focus are kept from the previous view, assuming that the same
business components and search specifications are relevant.
However, when navigating to a view without visibility settings using the Site Map or the Screen Tabs,
the view behaves as if the most restrictive visibility would apply to this view. (Normally this means
Personal or Sales Rep visibility, depending on the corresponding visibility settings of the business
component of the view’s Thread Applet property.)

Resource: Siebel 7.8 Bookshelf Object Type Reference Document, Page 306.

Regards.

Yayınlandı: on 5 Şubat 2009 at 9:05 pm Yorum Yapın
Tags: ,

Using Siebel Iff function without ELSE part in Applet or BC Search Spec

Let’s thing you have a requirement that if Login name is DUMMY, show only records in which name field equal to “3Com” otherwise show all the records which means you don’t want to make a filtering if Login Name is not equal to DUMMY.

You can not use “IIf” function without else part like below becasue of it is giving syntax error.

IIf((LoginName() = “DUMMY”), [Name]=”3Com”)

But you can not use “IIf” function like this below which is giving syntax error.

Instead of this you can do a trick this using “Id” column which is always not null and active.

IIf((LoginName() = “DUMMY”), [Name]=”3Com”,[Id] IS NOT NULL)

Sure, it has some performance impact but i can not find better way :( What about you?

Yayınlandı: on at 8:42 pm Yorum Yapın
Tags: ,