How to get the web templates not specific to any locale GetAvailableWebTemplates

Hi
I am using spweb.GetAvailableWebTemplates((uint)1033, true) to get all the available web templates. Since i use 1033, i get the en-US site like Teams Site(en-US). But i would like to get the templates with locale not specific to any.
like Teams site(All)
How to achieve this.

Hi,    
The locale ID specified when a site definition is created which controls the default language used in the corresponding site template.
If there are no other site definitions created based on other languages, then we can pass the default locale ID(1033) to the
SPWeb.GetAvalableWebTemplates method, it will retrieve a collection of site templates which are created with locale ID 1033.
The OOTB Teams Site template is created based on the locale ID 1033, so we can use this ID to retrieve it.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • How to create the web template

    Hi BW Experts,
       how to create the web template.....!
       I just want to know what is the use of Web template. i want to display the report
    in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
    Thanks
    shahina..!

    Hiu2026
    Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
    Go to All programs and select your web application designer
    Select the button to create a new page in WAD
    Select the chart and place in the layout
    Next goto Data provider Target and select your query
    Give your report name in the given data provider screen
    Select your query in History/find/Favourites/Infoareas button
    Select your query in this screen and click OPEN
    Now we can see the data provider is assigned to the chart.
    To edit the chart you have to right click on the chart
    After right click on it we will find another screen where we can edit all the settings
    In this screen we can find NEXT click button to change our settings
    In this screen we can state the tasks (Title, units, values, range)
    In this screen we can change our background /validity/color
    In this screen we can add values to the chart
    In this screen we can add validity/positions/order/axis types to the chart
    In this screen we can change the global settings/and overview of the chart.
    This screen shows that we have customized the chart successfully
    After successful creation of the chart we have to save the chart
    Save your chart in your favorites by giving the description and technical name in the given block.
    Now execute your WAD by selecting the execute button
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6

  • How to get the MAC address of  other hosts in local net

    1. Is there any kerner or user function to get the MAC address of other hosts in local net?
    2. ire_route_lookup() can only lookup MAC in routing table(arp -a),Is there any way to enable it to find out all MAC of hosts in the local net?
    Best Regards
    Hann

    ChristianEC wrote:
    Hi,
    I am looking for a way to get the MAC address of a PXI RT controller. I know that there is a VI to do this, but I am looking for a solution for a dll (C-Code).
    I use the "Call library node" to call this dll and want to make sure that it is only used on a specific PXI.
    Since the VI provides the functionality, I am wondering if it is also available to be called from C-Code?
    Thank you,
    Christian
    If it is available in LabVIEW it is probably available in CVI, which you could then build into a DLL (if there isn't one available already).
    CLA, LabVIEW Versions 2010-2013

  • How to get the web of document from the URL

    Hi All,
    Need small help here,
    I have SharePoint doc URL as below:
    http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx
    Here, TestFile existed in document library of Subsite i.e. sub3.
    If I give above URL as input, I should be able to get "sub3" web.
    How can achieve this programmatically. Overall we should get the leaf web from the URL.
    Thanks in advance.
    Krishnasandeep

    Hi Sanny521,
    The SPSite constructor does not care when you pass in the document library and filename as part of the url. you can use the following code:
    string myFileUrl = "http://sharepoint.com/sub1/sub2/sub3/documents/TestFile.docx";
    using (SPSite site = new SPSite(myFileUrl))
    using (SPWeb web = site.OpenWeb())
    SPFile file = web.GetFile(myFileUrl);
    string webUrl = web.ServerRelativeUrl;
    You pass the full url into the SPSIte constructor, it will retrieve the site collection, then the OpenWeb call will retrieve the proper web from the already passed full url, then you can retrieve the file and the url of the SPWeb.
    Mathieu Desmarais http://www.matdesmarais.com/

  • How to get the web application root ?

    Hi,
    We are developing a JSP/Servlets web application for Weblogic 5.1, that is distributed as a WAR archive, and so far we are unable to determine the web application root dynamically (from within the code in a Servlet or class). We tryed the servletContext.getRealPath("/") method, but it is not working due to the fact that we are deploying the application as a WAR file.
    We need to have this app root at the application startup, because it is widely used inside the JSP pages and the servlets of the web application. Also we would like to avoid setting it as a static parameter in the web.xml or elsewhere.
    Does anyone know how to do that? Any hint or suggestion is very much appreciated!
    TIA
    Stefan Buynov

    Thanks for your reply.
    As I said in one of my early posts, this variable (the application root) i used widely in the application (not only in JSPs, but also in classes).
    Another problem will be including JSTL in the project - first of all, I will have to put this tag where the variable is required (it will be quite exhausting), and also the specification of the application is strict - I might not be able to add this tag library, since the client won't like it.
    Anyway, thanks for your concern.
    Regards,
    Stefan

  • How to get the assignees for a specific role in process in BPM 11g

    Hi, Gurus,
    I am using BPM 11g. I am trying to retrieve all the assignees for a a specific role in process. It will be a parameter for a business rule to do further routing rule. But it seems there is no way to get the information. I found that there are Identity Service Functions in Human Task Assignment. But Identity Service Functions are not listed in Business Rule Activity, neither listed in other activities except Human Task Assignment. I cannot get the assignees in my process.
    Is there any way to get all the assignees for a role? I also tried to retrieve the assignees out engine with Worklist API, but it cannot get either. Actually we can get all the assignees information in automatic activity in OBPM 10g. Maybe I am still not familiar with 11g. Any advice is appreciated.
    FYI:
    My scenario:
    Suppose we have a role named ApprovalTeam. In this role, there will be several different department manager (BPM User) added in the role through Workspace. At run time, a request (With department info) with go through the approval by ApprovalTeam. A Business Rule Activity with decide which department manager will approve this request. Different department request will be dispatched dedicate managers, not all the managers in the role. I have an external JavaBean to get the department information from LDAP. To do the routing, I also need know all the department managers (BPM User) in the ApprovalTeam role. Then I can compare which department manager is matched with the request and assign the task to him.
    Thanks a lot,
    James
    Edited by: James Piao on May 31, 2010 6:25 PM

    or this?
    SQL> select text from ALL_VIEWS
      2  where VIEW_NAME
      3  ='EMP_VIEW';
    TEXT
    SELECT empno,ename FROM EMP
    WHERE empno=10

  • How to get the recipient and Note for recipient in Medium 7 Simple Mail?

    Dear friends,
    I'm trying to send the shipment in the form of PDF attachment to the assigned user. I'm wondering how can I get the receiver and the note(which should be the content of the email) which can be configured in the "Communication Method"?
    Thanks,
    YiNing

    Well, the maintained text doens't  show up as the text of the mail content. So I'm actually asking how can I (from which variant in program) I can get this text. Or is there any standard program shows me how to do this?
    Thanks!

  • How to get the open billing documets specific to Plant

    Dear All,
    I want list of Billing documets which is open i.e. not released to accounting according to plant not payer.VF05 OR VTX3 are not suitable.Please let me know how to get this?
    Regards,
    Murali.

    Dear Murali,
    I am not aware of any report based on Plant and as Ramesh has said that its nt possible to find in sap , i thought of some possibility.
    I hope that serves the purpose and as its one time activity you can try once using Excel.
    1) I think you can use VF05 to get the list of all the open billing documents.
    2) input all these documents in VBFA and get the corresponding delivery docs.
         e.g for 100 billing docs you will get 200 deliveries.
    3) Use these delivery docs and get the Plant assocoated with each delivery through LIKP lets say you have 5 plants
    4) Filter the deliveries as per Plant so you will have 5 delivery lists
    5) Use "Lookup" Function and get the Billing doc list.  Or if you dont knw look up in Excel.
    then go back to VBFA as you have already filtered the delivery list by plant, enter the deliveries list per plant one by one and it will give you the billing docs list.
    This just a thought i never tried it myself,
    Hope makes sense to you, and resolves your problem
    Regards,
    Paresh

  • I want to know how to get the web addresses to go away that appear in the bottom left corner of the browser every time my mouse goes over a link

    Any time that my mouse goes over a link on a web page a little box in the bottom left corner of the browser pops up showing the web address for that link and it is really annoying, especially when i am on facebook because there are so many links on the home page i cant move my mouse anywhere without that box popping up and blocking part of my conversations. I was wondering if there was any way to turn this off. I've checked through the options and to my knowledge there is no way to turn it off. Just wondered if anyone else has had this problem or knew if there was a way to get that box to go away.

    Another option would be to use the following extension to push those messages into the status bar. It could be a convenient way to have your messages visible when you want them, but with less distraction.
    https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/
    If you try it, let us know what you think.

  • Popup - how to get the focus in a specific compent

    Hi,
    I am trying to get the focus of my pop-up in the second component.
    Use case: New button in the table shows a popup to get the input from the user. There is a Undo Edit link (top-left) to discard changes, on top of the pop-up so by default the focus goes to the top left. I have input text boxes under that. And I am trying to get the focus (mouse cursor) in the first input text box rather than the undo Edit link. Any idea to implement that without using javascript ?
              <af:popup id="newPopup" contentDelivery="lazyUncached"
                        popupCanceledListener="#{commonUtils.CreatePopupCanceledListener}">
                <af:dialog id="createPopupDL" type="none"
                           title="#{viewcontrollerBundle.NEW_COURSE_PLAN_STRUCTURE_QUALIFIER_HEADER}"
                           resize="on">
                  <af:separator id="s1"/>
                  <af:panelGroupLayout id="pgl2" layout="vertical" halign="left">
                    <af:panelGroupLayout id="pgl3" layout="horizontal">
                        <!-- csc:undoEdit is a custom component to undo change
                        By default the focus is coming to this component -->
                      <csc:undoEdit id="ue1"/>
                    </af:panelGroupLayout>
                    <af:messages id="m1"/>
                    <af:spacer width="10" height="10" id="s2"/>
                    <af:panelFormLayout id="pfl1" labelAlignment="start"
                                        labelWidth="140">
                      <af:spacer width="10" height="10" id="s3"/>
                          <!-- I want to get my mouse cursor in this box -->
                          <af:inputText id="it2"
                                    label="#{bindings.QualifierCd.hints.label}"
                                    value="#{bindings.QualifierCd.inputValue}"
                                    showRequired="true"
                                    required="#{bindings.QualifierCd.hints.mandatory}"
                                    columns="#{bindings.QualifierCd.hints.displayWidth}"
                                    maximumLength="#{bindings.QualifierCd.hints.precision}"
                                    shortDesc="#{bindings.QualifierCd.hints.tooltip}"
                                    autoSubmit="true">
                        <f:validator binding="#{bindings.QualifierCd.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelGroupLayout>
                  <af:spacer width="10" height="10" id="s4"/>
                  <af:separator id="s5"/>
                  <f:facet name="buttonBar">
                    <af:group id="g2">
                      <af:panelGroupLayout id="pgl4" layout="horizontal"
                                           halign="start">
                        <af:commandButton text="#{smsCommonViewBundle.CreateBtn}"
                                          id="createCB" action="doCommit"
                                          partialSubmit="true"
                                          accessKey="#{smsCommonViewBundle.CREATE_ACCESS_KEY}">
                          <f:actionListener type="au.com.callista.sms.framework.view.lifecycle.PopupDismissActionListener"/>
                        </af:commandButton>
                        <af:spacer width="10" height="10" id="s6"/>
                        <af:commandLink text="#{smsCommonViewBundle.CANCEL_LNK}"
                                        id="cancelCL" action="doCancel"
                                        accessKey="#{smsCommonViewBundle.CANCEL_ACCESS_KEY}"
                                        immediate="true">
                          <f:actionListener type="au.com.callista.sms.framework.view.lifecycle.PopupDismissActionListener"/>
                          <af:resetActionListener/>
                        </af:commandLink>
                        <af:spacer width="400" height="10" id="s9"/>
                        <af:icon name="required" id="i1"/>
                        <af:spacer id="sp3" width="5" height="0"/>
                        <af:outputText value="#{smsCommonViewBundle.requiredLbl}"
                                       id="ot1" styleClass="requiredText"/>
                      </af:panelGroupLayout>
                    </af:group>
                  </f:facet>
                </af:dialog>
              </af:popup> Edited by: user9319679 on Sep 6, 2011 10:43 AM

    I dont think so that possible without javascript.. AFAIK
    <af:clientListener method="setFocus()" type="load"/>
          <af:resource type="javascript">
               function setFocus(event){
                 var input1 = document.getElementById('pt1:r1:3:pt1:it1::content'); // the complete id of the inputText - change it according to your jsff.. use firebug to get the proper id
                 if(input1!=null)
                 {input1.focus();
          </af:resource>

  • How to get the type of org.omg.CORBA.Any ?

    Hi there
    My q is: how can I get the type of an Any object?
    Please have a look at the following code:
    ORB orb = ORB.init();
    org.omg.CORBA.Any anytest = orb.create_any();
    anytest.insert_string("mystring");
    TypeCode tc = anytest.type();
    Now how can I get back that the type is String??
    Regards
    Brian

    Hi,
    Try using anytest.type().kind().value() -> should yield TCKind._tk_string. See the javadoc for more info.
    I think that the only way to check types is by comparing the codes; as far as I know there is no easy way to get the equivalent Java Class object or so. But I could be wrong on that one.
    Best,
    Guy

  • How to get the value of a specific field in JTable

    hi every one,,,
    i'm intersting to get a field of JTable
    how can i decide the row and the column of JTable???
    and in which type will be the field ??

    If you need the row number of a selected row
    table.getSelectedRow() should work.
    If you are using a mouse then
    Point p = MouseEvent.getPoint();
    int row = table.getRowAtPoint(p);
    int column = table.getColumnAtPoint(p);
    You can set the type of the field in
    TableModel.getColumnClass(int column) method.

  • Tell me how to get the web search window/bar

    I do not have a web address bar or window. In other words, I am not able to type in a web site address.

    I watched the video and I know what you want.  i'm using iTunes 10.2.2 and I can't install 9.2.1 to check.  However,  think that the instructions I gave you are also valid for iTunes 9.2.1.
    To find the Burn Options, select a playlist and either right-click and select Burn playlist to disc or use the iTunes File menu > Burn Playlist to disc.  Then, your burn options dialog box will appear.
    For the import options, look in iTunes > Preferences > General and click the "Import Settings" button.

  • How to get the closing event (not closed) of Dialog control

    Hi All,
    I have one requirement, that I have to close the Dialog box in an animated way like on clicking of the Dialog close button the popup has to close from top to bottom in a slide effect.
    sap.ui.commons.Dialog
    When I tried closed method of Dialog, it is calling only after dialog box closed but, I need the closing event rather closed event.
    I am putting a UI5 view in Dialog as I need some custom/dynamic content in the dialog.
    Please suggest the solution for this.
    Thanks & Regards,
    Pavan Thirunamala,
    [Moderator Message - Please do not provide contact information like Phone Number etc in the discussion message. It has been removed.]
    Message was edited by: Chandrashekhar Mahajan

    JS Bin - Collaborative JavaScript Debugging&lt;/title&gt; &lt;link rel=&quot;alternate&quot; type=&quot;application/jso…
                sap.ui.getCore().getEventBus().subscribe("sap.ui","__beforePopupClose",
    function(channel, event, params)
      debugger;   
    $(params.domNode).animate({
                      opacity : 1,
                  height : 0

  • How to Get the iPhone to NOT Play All Audio Through Bluetooth Earpiece?

    I have a Jawbone earpiece, and when it's connect to my iPhone, all sounds (not just telelphone conversations) are sent to it. Since I don't leave it in my ear when I'm not on a call, I don't hear alerts for incoming messages and e-mails. Is there a way to change this behavious so that only the audio from telephone conversations is sent to my earpiece?

    I got the answer here:
    http://forum.java.sun.com/thread.jspa?threadID=5149132&tstart=15
    I tried getDuration() before, but it always return a same time, I think maybe I didn't realize the player.

Maybe you are looking for

  • Calling SSIS package from C# Windows Service Fails

    Hi All. I've got an SSIS package that reads from an Excel file and populates a database. The Excel file location gets passed in to the package as a variable. Also the Protection Level of the package is set to EncryptSensitiveWithPassword. This all wo

  • Com.sapportals.trex.core.DocAttribute

    Hi,   I am looking for the javadoc for com.sapportals.trex.core.DocAttribute. I want to know the value of DocAttribute.ATTRIBUTE_TYPE_TEXT If anybody has got the API, can you please post me what is its value. Points assured. Thanks! Vivek.

  • Automated process to clear completed batches

    Hi , Can some one please explain how to clear completed batches in MDS automatically, I mean is there a sql code which we can execute using a  sql server agent job to clear the jobs. Thanks , Nagesh.

  • Client exclusion policies

    Just a quick note or heads up regarding client exclusion policies. I got called out to a facility because three laptops stopped working. I got on site and my laptop immediately worked so I knew it wasn't the network or that DHCP got full somehow. Reb

  • Web tools 2007 installer

    I'm trying to install Web Tools installer 2007 on the server (windows 2003 R2 x64) and when I get to Installing Wedfiles on the screen Installation Tasks. I get following error: See the end of this message for details on invoking just-in-time (JIT) d