SQL to Find Default HomePage Assigned to Default Group

SELECT
g.name default_group,
UPPER(u.attrval) user_name
FROM ods.ds_attrstore u, portal.wwsec_group g
WHERE portal.wwsec_api.get_defaultgroup(UPPER(u.attrval)) = g.id(+)
AND u.attrname = 'uid'
ORDER BY 1,2
We use the above query to find what default group our users are assigned to. I am looking for a query to run to find the Default Home Page assigned to each of our Default Groups
I currently have to manually open each group through the Portal Group Profile to see the default home page assigned, I was just hoping there was a script that I could create a report from.
Thank you
MJ

Something like this
select application_status,
     sum(case when created_date between sysdate-4 and sysdate then 1 else 0 end) CNT0TO4DAYS,
     sum(case when created_date between sysdate-9 and sysdate-5 then 1 else 0 end) CNT5TO9DAYS,
     sum(case when created_date <= sysdate-10 then 1 else 0 end) CNT10PLUSDAYS
   from app_txn
  group by application_status

Similar Messages

  • AppleScript to Find Contacts Not Assigned to a Group

    Does anyone know if there is an AppleScript for Address Book that finds contacts that are not assigned to groups?

    Ask at the AppleScript forum under OS X Technologies or check the Automator forum under Leopard.

  • How to find default value of a column ?

    hi , alok again,
    i have to find default value of a column.
    Acutally i have found , column's max width, its nullability, precision, scale, type, but NOT default value.
    I will have to use the default value and nullability while validating user's input.
    ResultSetMetaData doesnot contain any method any such method...
    Pls help,
    how can i do so.
    Any idea will be highly appreciated.
    Thanks in adv.
    Alok

    Hi,
    After you get the resultset from DatabaseMetaData.getColumns() as shown by sudha_mp you can use the following columns names to retrieve metadata information:
    Each column description has the following columns:
    TABLE_CAT String => table catalog (may be null)
    TABLE_SCHEM String => table schema (may be null)
    TABLE_NAME String => table name
    COLUMN_NAME String => column name
    DATA_TYPE int => SQL type from java.sql.Types
    TYPE_NAME String => Data source dependent type name, for a UDT the type name is fully qualified
    COLUMN_SIZE int => column size. For char or date types this is the maximum number of characters, for numeric or decimal types this is precision.
    BUFFER_LENGTH is not used.
    DECIMAL_DIGITS int => the number of fractional digits
    NUM_PREC_RADIX int => Radix (typically either 10 or 2)
    NULLABLE int => is NULL allowed.
    columnNoNulls - might not allow NULL values
    columnNullable - definitely allows NULL values
    columnNullableUnknown - nullability unknown
    REMARKS String => comment describing column (may be null)
    COLUMN_DEF String => default value (may be null)
    SQL_DATA_TYPE int => unused
    SQL_DATETIME_SUB int => unused
    CHAR_OCTET_LENGTH int => for char types the maximum number of bytes in the column
    ORDINAL_POSITION int => index of column in table (starting at 1)
    IS_NULLABLE String => "NO" means column definitely does not allow NULL values; "YES" means the column might allow NULL values. An empty string means nobody knows.
    SCOPE_CATLOG String => catalog of table that is the scope of a reference attribute (null if DATA_TYPE isn't REF)
    SCOPE_SCHEMA String => schema of table that is the scope of a reference attribute (null if the DATA_TYPE isn't REF)
    SCOPE_TABLE String => table name that this the scope of a reference attribure (null if the DATA_TYPE isn't REF)
    SOURCE_DATA_TYPE short => source type of a distinct type or user-generated Ref type, SQL type from java.sql.Types (null if DATA_TYPE isn't DISTINCT or user-generated REF)
    Regards,
    bazooka

  • Error while crawling LOB contents in SP 2013:'Could not find default endpoint element that references contract in the ServiceModel client configuration section

    Hi,
    I created custom BDC Model using Visual Studio. In ReadList method i am getting data using Web Service call. Using this External Content Type (BDC Model) i created one external list and it is populating with data.
    I created one new content source in search service application using this BDC Model and when crawled this content source i am getting the below error.
    Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Runtime.RuntimeException MethodInstance with Name 'ReadList' on Entity (External Content Type) with Name 'Entity1' in Namespace 'bcsex.BdcModel1' failed
    unexpectedly. The failure occurred in method 'ReadList' defined in class 'bcsex.BdcModel1.EntityService1' with the message 'Could not find default endpoint element that references contract 'ServiceReference1.Service1Soap' in the ServiceModel client configuration
    section.
    I included the bindings and client end point configuration settings in web.config file located at
    \\Inetpub\wwwroot\wss\VirtualDirectories\Port_Number, but still getting the same error.
    Please help. Thanks a lot.

    The Issue resolved by including the bindings and client end point configuration settings in
    machine.config file located at C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\ and also restarted the server after config changes.

  • Custom Timer Job to execute WCF web service error - Could not find default endpoint element that references contract

    Hi,
    I am currently creating custom timer job to call WCF web service to perform nighty job to update employee document library metadata. If I update regular list/library items it updates correctly on a specified interval basis. However when I try to integrate
    the WCF client, it throws error shown below :
    Could not find default endpoint element that references contract EmployeeServiceReference.
    EmployeeServiceClient in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.
    I followed exact instructions Andrew Connell has provided but included my logic in execute()
    public
    override
    void Execute(Guid
    targetInstanceId)
    var empClient =
    new
    'ServiceReference.EmployeeServiceClient();
    var employee = empClient.EmployeesMethod();
    I have tried all approaches to manually adding app.config settings in sharepoing web.config but still it throws the error mentioned. It seems that application config and sharepoint site config binding issue still exist and cannot be resolved.
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding
    name="BasicHttpBinding_EmployeeService"
    />
    </basicHttpBinding>
    <netTcpBinding>
    <binding
    name="CustomBinding_EmployeeService">
    <security>
    <transport
    protectionLevel="None"
    />
    </security>
    </binding>
    </netTcpBinding>
    <wsHttpBinding>
    <binding
    name="WSHttpBinding_EmployeeService">
    <security
    mode="None"
    />
    </binding>
    </wsHttpBinding>
    </bindings>
    <client>
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc"
    binding="wsHttpBinding"
    bindingConfiguration="WSHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="WSHttpBinding_EmployeeService"
    />
    <endpoint
    address="http://services.mycomp.com/EmployeeService.svc/soap"
    binding="basicHttpBinding"
    bindingConfiguration="BasicHttpBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="BasicHttpBinding_EmployeeService"
    />
    <endpoint
    address="net.tcp://crmapp.mycomp.com:5050/EmployeeService.svc/tcp"
    binding="netTcpBinding"
    bindingConfiguration="CustomBinding_EmployeeService"
    contract="EmployeeServiceReference.EmployeeService"
    name="CustomBinding_EmployeeService">
    <identity>
    <userPrincipalName
    value="[email protected]"
    />
    </identity>
    </endpoint>
    </client>
    </system.serviceModel>
    Will you please help resolving this issue?

    Hi,
    You can use any of the three approaches:-
    1) Access web application's web.config programmatically in Execute() method.
    http://praveenkasireddy.wordpress.com/2012/12/14/access-web-application-configuration-values-in-timer-job-sharepoint/
    2) Store the configuration in xml and upload it to SharePoint document library then read from there
    http://www.sharepointdynamics.net/2011/08/using-an-xml-settings-file-to-store-values-for-your-sharepoint-projects/
    3) Programmatically configure a WCF endpoint.
    http://msdn.microsoft.com/en-us/library/ff647110.aspx
    Regards, Shruti

  • Dashboard Prompt - Getting error for Adding SQL query in "Default to"

    Hello Oracle,
    I am facing some problem in Dashboard Prompt. Like when i add some sql query in "Default to" in Dashboard prompt and for the next prompt when i check for Contrain option i get error in the second prompt. but it works fine when i hard-code a value in "Default to" options.
    For Example:
    Like when we consider a two prompts :
    1) Year -> (In Default to i select SQL Query and enter the query as SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)
    2) Business Unit -> (In specific value i give as some hard code value of Business Unit and check the contrain option)
    i get error as
    Business Unit
    Error Generating Drop Down Values
    A numeric value was expected (received "SELECT "YTD Dim"."Fiscal Year" FROM "YTD Report" WHERE "YTD Dim"."Fiscal Year" = Year(Current_Date)"). Error Details
    Error Codes: EHWH2A7E
    but i get correct value for Year as 2011.
    I need to use SQL query in default to option and need to check the constrain option too.
    Looking for positive feedback.

    You need to create a dashboard prompt and in Default To -> select SQL Results
    Click on the ... (three dots ) underneath it and put in your sql
    For Example , I have a Table called "Sales Date" in my "ABC" presentation folder. This has a column called "Year" and "Date". If I want to have a Year prompt with the default value set to current year, here is what the syntax of my sql result will be :-
    SELECT "ABC"."Sales Date".YEAR
    FROM "ABC"
    WHERE "Date" = current_date
    In SQL, we cannot put SQL as we know of in terms of Oracle, Sql Server etc. The SQL here refers to sql as OBIEE understands it and should be in the form of Select "Presentation foler"."Table Name".ColumnName from "Presentation Folder"
    Hope this helps

  • Assigning privileges to default groups

    When I'm creating a user (using Workgroup Manager) and am assigning privileges to administer groups, the default group "windows computers" doesn't show up. Actually, only the groups I've created in Workgroup Manager show up. I'd like to assign administrator privileges to these computers to some of my user accounts on the network, but not necesarilly make the user a Domain Administrator.
    Does anyone know a way to do this?
    Xserve G5   Mac OS X (10.3.9)   ldap master no AD, windows servers

    Hi,
    SAP uses the wage type group concept to group wage types that have similar characteristics with regard to payroll. You must assign all wage types to a wage type group. This is also true for user-defined wage types.
    You have to assign wage types to wage type groups so that you can work with the Implementation Guide (IMG). In the Implementation Guide, you only perform wage type maintenance for the wage types required in that particular section of the IMG. You select these wage types according to Wage type group. This means that you can only use the IMG to maintain wage types that have been assigned to a wage type group. In other words, if the wage types have not been assigned to a wage type group, they do not appear in the wage type maintenance in the IMG.
    Warm Rgds,
    Arun.M

  • Cann't find default database

    I install Oracle 8.1.7 on my computer,but it cann't find default database.
    I have been reinstall a lot of time ,except the first time it can get the db in Enterprise Manager Console.
    How can I do ?

    Hi,
    For using oracle enterprise manager console, you would need to connect to a repository. Are you able to connect to the database using sqlplus? What is the error you are getting? The default username and password to connect to enterprise manager console is sysman/oem_temp.
    HTH

  • "Assign Collection Groups to Segment" - Disable Default Group Option.

    Hi,
    I am using the SAP FSCM Collections Management module. I have a requirement in the following:
    "Assign Collection Groups to Segment"
    I don't want to have a Default Group in a particular segment. The Default Group is a standard SAP feature.
    I would like to disable it, does anyone have any experience with the Field Status Groups in Collection Management, or is there any way this can be disabled.
    Do let me know at the earliest.
    Thanks & Regards,
    Bhairav Naik.

    Hi Bhairav,
    In our situation, we were unable to systematically determine which group/processor should be assigned for new customers.  So, I created a group called "New" and made that the default.  The A/R Manager is notified when a new customer is created.  It is her responsibility to update the collections profile on the business partner.
    Regards,
    Beth

  • Where to find default Port of message server ID

    Hi all:
          Would you please tell me where and how to find default Port of message server ID?
         Thank you very ,much!!!

    Try this out if it works for you.
    http://HostName:PortNo/sap/monitoring/SystemInfo
    http://HostName:PortNo/monitoring/SystemInfo
    Regards
    Praveen

  • Can't find default package `javax.imageio' error

    We are running jdk "1.4.2_05-b04" on linux. And I have a simple program that is importing package javax.imageio. But the compiler is not finding it. Now since this is a j2ee envrionment I am using ANT to compile. Here is the error I am getting:
    --- BEGIN ERROR TEXT---- [javac] /home/sroshan/samcvs/psimc/src/com/psi/psimc/tasks/servlets/StockGraphProducer.java:28:
    error: Can't find default package `javax.imageio'.
    Check the CLASSPATH environment variable and the access to the archives
    [javac] 1 error
    --- END ERROR TEXT----
    Here are my questions:
    1-Any one has any idea why this package may be in a special location in my jdk path that ANT can not find?
    2- What jar file would be containing the javax.imageio package?
    Since at list I could see if that jar may be included into my ANT classpath or not.
    Any help is appreciated
    Regards
    Siamak

    Hi,
    hey..I am also getting the same error. Please let me know what do you mean by path was so long??
    Are you talking about system Path variable or the installation path?I believe there is no restriction on the system path length, just search for cl.exe and make sure it is included in the system PATH.
    Regards,
    Hussein

  • Unable to find default app?

    Someone please help me. I'm new to playbook and when I try to download anything, pics apps or whatever it downloads but when I go to open it gives me an error saying "unable to find default app" and I can't open. Any ideas? Help I'm very frustrated and regretting this purchase. 

    Do a backup of all the files to your computer. All files that were installed except Apps will be backed up. Apps can be downloaded again from the App Store without any costs or problems. Then do a reinstall of the OS and reinstall the backup.

  • Help! Blackberry playbook keeps saying cant find default app!

    Whenever I want to download stuff such as skype it says cant find default app. How do I get the default app, Please reply.

    After pairing ma PB with a blackberry smart
    phone,my browser and ma blackberry
    bridge bbm app works but! My app world
    wount open,i cant change my blackberry
    ID,it will be indicating that i should connect
    to a wireless internet connection,pls what
    do i do?

  • Gnucash startup "cannot find default values"

    I keep getting the error "cannot find default values" when launching gnucash 2.4.8-1.
    I tried "Setup" and "update search path" and "install into home directory" options, but neither of them seem to fix the problem - the error message keeps reappearing after launching gnucash.
    Any idea how to fix this?

    I am using FM10 in Windows 8 (I occasionally get this error whenever adobe products are updated on my machine)
    If you work in a more controlled environment (Federal Subcontractor with administrative controls everywhere), I contact my IT department , or if you have the administrator rights, perform the following steps:
    Launch command prompt as administrator.
    Type “appwiz.cpl” press enter
    Right mouse click on Adobe Acrobat Pro and select change
    Select repair and click next.
    If necessary enter administrative credentials when requested.
    Reboot workstation

  • Cannot find default font

    Hi,
    When booting I can see the message "Cannot find default font" just below the Arch logo. Nevertheless everything works fine afterwards but it's an annoying message that started appearing just a few days ago after I changed the consolefont in rc.conf to lat10. Can anyone help me to get rid of it?
    Thanks

    I also thought that that was the problem, but my rc.conf is right:
    LOCALE="es_ES.utf8"
    HARDWARECLOCK="UTC"
    TIMEZONE="Europe/Madrid"
    KEYMAP=es
    CONSOLEFONT=lat0-16
    CONSOLEMAP=
    USECOLOR="yes"
    I have another computer with the same settings and the message does not appear.

Maybe you are looking for

  • How to stop the bridge.exe active as to install the new application eg.Flash CC?

    how to stop the bridge.exe active as to install the new application eg.Flash CC? please help? I can't install the any new application every time.

  • Please help cannot install itunes

    ok so im trying to reinstall itunes after finally having got rid of a bunch of viruses on my computer, which i think were making my itunes act funny, which is why i am reinstalling. but there is one file i cannot uninstall named apple software update

  • Date display

    Hi ,      i have a table with data and in one column i have dates.I have 2 dates in  row in dates column(yyyy-mm--dd) format .How to change these two dates in dd/mm/yyyy and some rows i have only single date. 2009-11-09 2008-12-01     With Regards, s

  • Error in XML Form

    Hi,    I have created XML  forms.After creating when im executing the forms im getting the following error: XML - Forms  Error applying XSL stylesheet to XML com.sapportals.wcm.WcmException: com.sap.engine.lib.xml.util.NestedException: org.w3c.dom.DO

  • Image Transfer from PC to Mac

    How does one transfer all images from a PC to a Mac AND ensure that the meta data and tags are included? At present I have my entire catalog backed up on an external hard drive ready to go.