Assign Values to Category column in custom Site template by using save a s template method

Hi All,
I am trying to develop a new custom site/web template in SharePoint 2013. In the site  I  have used Issue tracking list. I rename Issue status  to Risk status. In the category column I gave my custom values e.g.
<CHOICE>Change Management</CHOICE>
                    <CHOICE>Funding</CHOICE>
                    <CHOICE>Global Communication</CHOICE>
                    <CHOICE>Implementation</CHOICE>
                    <CHOICE>Interdependencies</CHOICE>
                    <CHOICE>Objectives</CHOICE>
                    <CHOICE>Organizational Culture</CHOICE>
                    <CHOICE>Resource Availability</CHOICE>
                    <CHOICE>Sponsorship</CHOICE>
                    <CHOICE>Supportability</CHOICE>
                    <CHOICE>Technical</CHOICE>
I saved the site as template and uploaded the custom template into site collection. When I created a new site based on the custom template I noticed Risk status has been renamed to default Issue status and category  column has default values e.g. category
1 category 2 etc. How can I fix it  ? Your help will be highly appreciated

Hi,
As the error message suggests, it is not supported to add this app into a site template. To work around this issue, it is recommended to remove this app from your
site before saving it as template.
The KB article below would provide more details about this issue:
https://support.microsoft.com/en-us/kb/2885566?wa=wsignin1.0
To install this app to the specific sites you want in a batch, administrators can also use the App Catalog to push apps to specific site collections, managed paths,
and site templates.
More information about this:
http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2013/03/04/sharepoint-2013-app-deployment-through-quot-app-stapling-quot.aspx
https://msdn.microsoft.com/en-us/library/office/fp179896.aspx?f=255&MSPPError=-2147217396
I would also suggest you submit a feedback to the Office Developer Platform if there any expectation about the future version of Office 365 SharePoint Online:
http://officespdev.uservoice.com/
It
is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft
Product Team will take it into consideration when designing the next version in the future.
Thanks 
Patrick Liang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Dynamically assign value to a column in ALV LIST Display

    Hi all,
    How can I dynamically assign value to a column in ALV LIST Display without using classes and methods?
    Thanks,
    Ridhima

    Hi Vikranth,
    I am displaying one ALV list say with columns A and B.
    I have value in A but not in B. Now at runtime user selects one row, clicks on push button in application toolbar, then i have to display value in column B in the already displayed list.
    I searched and came to know it can be done with oops concept. but i am not using classes and methods.
    so how can i do this?
    Thanks,
    Ridhima.

  • Reading values from lookup columns through custom workflow in SharePoint 2013

    We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
    Thanks & regards,
    Aditya

    Hi,
    According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
    Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
    For more information, you can refer to:
    SharePoint 2013 Workflows and Lookup Columns
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Assign value to one column when etl process is run

    hi,
    i have a table with column etl_id. my requirement is when i ran one etl process this column is updated by 1. when i run etl process second time the value is 2. if i run n times its value should be n.
    How do i implement this logic?
    please find my table.
    table name is WHOUSE_DS
    CREATE TABLE OLAPS.WHOUSE_DS
    (     ROW_WID NUMBER(10,0),
         INTEGRATION_ID NUMBER(10,0),
         DATASOURCE_NUM_ID NUMBER(10,0),
         ETL_ID NUMBER(10,0),
         WAREHOUSE_CODE VARCHAR2(30),
         WAREHOUSE_LOC_NAME VARCHAR2(30),
         WAREHOUSE_LOC_ADDRESS VARCHAR2(30),
         WAREHOUSE_LOC_CITY VARCHAR2(30),
         WAREHOUSE_LOC_COUNTY VARCHAR2(30),
         WAREHOUSE_LOC_STATE VARCHAR2(30),
         WAREHOUSE_LOC_COUNTRY VARCHAR2(30),
         ZIP_POSTAL VARCHAR2(30)
    The bold column should be updated by 1 each time when i run the etl process.
    Regards,
    Jyothy

    Hi Jyothy,
    1.Define a Sequence Generator
    2. Define a fuction ETL_ID_FN.
    The function definition should be as follows.
    Get the "Next Val" of Sequence generator and pass that value as a return value.
    3. Import the funciton into OWB.
    4. Open your mapping.
    5. Use Constant Operator
    6. Define a variable
    7. In the defintion of varaible, call the imported function.
    8. Validate it.
    9. Assign it to the field whichever you want to.
    Regards,
    Gowtham Sen.

  • How to assign values to UDf of sales quotation at Doc level using UIAPI

    HI,
    I have a custom form, viz. Sales feedback.
    When the user clicks button "Copy to sales quotation" of this form,
    I create an instance of Sales quotation form and open it in SAPB1.
    I have to populate all sales feedback data to this form(Sales quotation form's UPAPI).
    What is the simpest way to do this?
    Also, How can I assign UDF values to sales quotation from sales feedback.
    Regards
    Trupti Mahurkar

    Hi Trupti,
    for assign UDF values, trying with:
    Dim oTargetDoc,oSourceDoc As SAPbobsCOM.Documents
                oTargetDoc.UserFields.Fields.Item("myUDF").Value=  oSourceDoc.UserFields.Fields.Item("myUDF").Value()

  • Before Header pl/sql process to assign values to page items

    How can i assign values to items on a page based on the data structure returned from a pl/sql procedure within the before header process? I am thinking of executing a pl/sql procedure based on a URL parameter value and then assign values to page items. Is this really possible using Apex 4.0.2? If yes, how can it be done?
    thanks
    Seetharaman

    The question isn't really clear. What kind of "data structure returned from a pl/sql procedure"? Please be much more specific.
    For a PL/SQL data structure such as record containing 2 elements (<tt>x</tt> and <tt>y</tt>) returned as an out parameter from a procedure to be assigned to 2 page items <tt>p1_x</tt> and <tt>p1_y</tt>, all that's required in the Before Header process is something like
    declare
      l_rec rec_type;
    begin
      the_proc(..., p_out => l_rec, ...);
      :p1_x := l_rec.x;
      :p1_y := l_rec.y;
    end;

  • AR Customer Site contact API

    Hi,
    We want to update/insert customer site contact details using API. Is there any reference. Pls help us.
    For your information we succeeded in following:
    1) Customer Communication insert/upd
    2) Customer Contact insert/upd
    3) Customer Contact Communication insert/upd
    4) Customer Site Cummunication insert/upd
    Thanks in advance.

    The TCA API guide has all the necessary details along with examples. Thats what we used about 2 years back to get in customer, site data.

  • Migrating SP 2007 site which is using the template Project Workspace (Id 6215) to SP 2013

    Hi,
    We have our SharePoint 2007 with project server installed on it. It is only one server having all of the components including SQL server and SP 2007. We are planning to migrate one of the site which is using the
    Project Workspace Template(Id 6215)  to the SP 2013 environment using Database
    Attach Method.
    Questions:
    1) Is there any workaround available we can migrate the site to SP 2013 without
    installing project server? 
    2) If there is no other workaround, we may need the justification or supports articles to share with our management.
    Looking forward to hearing from you guys.
    Regards,
    Zulfiqar

    Hi,
    According to your description, my understanding is that the error occurred when you tested the database.
    I recommend to check if the site template exists in the folder located at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\1033\XML.
    If yes, then restart the SharePoint machine and run the PowerShell command Test-SPContentDatabase again.
    If not, please re-install the template to see if the issue still occurs.
    If the sites with issue are no longer needed, then you can delete the sites with issue. Or you can
    rename the site template with a standard template id.
    More references:
    http://www.sharepointnadeem.com/2014/01/sharepoint-2013-missingsitedefinition.html
    http://red1s.wordpress.com/2012/08/16/sharepoint-2010-missing-site-definition-error/
    http://sharepointgeorge.com/2009/upgrading-content-db-sharepoint-2010-part-1-preupgradecheck/
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Dynamic value assignment to a particular column in a vertical ALV

    Hi Friends,
    In the present program ALV has 44 fields and output row is only one(with some field editable).
    My requirement is to change present output to vertical ALV and editable field should be available
    as editable.
    Now I have changed this to transposed ALV manually(not dynamically) with required fields editable.
    Now there is 44 rows and two column "FIELD and "VALUE'.Some values in the second column is editable.
    Previously output was like this:
    field1   field2  field3 ...
    val1     val2    val3   ...
    Now output is like:
    FIELD   VALUE
    field1  value1(type INT)
    field2  value2(type char5) Editable(need F4 help)
    field3  value3(type date)
    My present structure declaration is:
    types: begin of ty_itab,
            field type char 50,
            value type char70,
            celltab type lvc_t_styl,(for editing some values in VALUE column).
           end of ty_itab.
    data: itab type standard table of ty_itab.
    Now the second column i have declared as CHAR70 which contains only char
    values because to put all differt types of values to one single column named
    'VALUE'.
    But as field1 field2 field3... had differnt type of value like integer char date...I need to validate some values
    (specially those which are editable) before saving to custom DB table.
    So I need dynamic value assignment to VALUE column when preparing internal table for display.
    What I want to say is that VALUE column should be able to contain different type of values like INT, DATE, CHAR...etc
    Is the requirement is feasible?
    If yes then How should I declare the structure and populate different type of values within single column 'VALUE'.
    Also is it possible to have F4 helps in the second column (VALUE)???

    Hi Manab,
    I did something comparable: We have a very complex transaction with several subscreens with multiple fields to be filled with complex logic to create a very special contract. The requirement was to create a method to create a copy of this contract being able to apply some changes.
    I created a wizard (transaction SBPT_WIZARD_BUILDER - Wizard-Builder) to accomplish that. I grouped all the fields to just 3 logical groups and thius created 3 stesp where the user gets an ALV as you describe, but we have the rows like FIELD  with the new value editable. Additionally I have hidden fields with table name and field name so that I can determine the characteristics (datatype) at run time.
    The value fields are just strings (every ALV field is a text field on the surface).
    For editable fields, you have an event DATA_CHANGED. I used this method as a handler for the event:
    (I will leave out the wizard part here - maybe a good idea for a blog to explain that)
    METHOD handle_data_changed.
        CALL FUNCTION 'RS_CONV_EX_2_IN'
          EXPORTING
             input_external                     = <mod>-value
             table_field                        = ls_tabfield
    I also created handlers for F1 and F4
    Handler for CL_GUI_ALV_GRID->ONF1
    METHOD handle_f1.
        CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
          EXPORTING
            called_for_tab   = lv_tabname
            called_for_field = lv_fieldname
          EXCEPTIONS
            object_not_found = 1
            sapscript_error  = 2
            OTHERS           = 3.
    Handler for CL_GUI_ALV_GRID->HANDLE_F4
    METHOD handle_f4.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname    = lv_tabname
          fieldname  = lv_fieldname
        TABLES
          return_tab = lt_return_tab
        EXCEPTIONS
          OTHERS     = 5.
        er_event_data->m_event_handled = abap_true.
    * if er_event_data->m_event_handled is not set to abap_true, system will handle it.
    * In this context the message 'Keine Eingabehilfe verfügbar' will be displayed
    ENDMETHOD.
    This is just an excerpt from my project. It shows that you can do more in ALV as you knew.
    I tried to post a little more but the formatting break down, possibly a result of the character limit
    Regards,
    Clemens

  • In PWA, can I use a "Site Column" as "Custom Field" or vise versa?

    Hello,
    I am using PS 2013; I was wondering how/where "Custom Fields" are created? How there are related to the Site Column?
    Can I create a site column and use it as a Custom Field? 
    Hope my question is clear ^_^

    Hello,
    As Guillaume has mention, there is no link between SharePoint site columns and Project Server custom fields, they are different entities used for different parts of the system. Site Columns are a SharePoint setting that can be used in the lists / libraries
    on the SharePoint sites. Project Server custom fields are used by Project Server and not SharePoint. Project Server custom fields are created via the PWA > PWA Settings > Enterprise Custom Fields and Lookup Tables page. You can see a post
    here on creating Project custom fields in the second half of this post:
    http://pwmather.wordpress.com/2014/01/17/getting-started-with-projectonline-part-2-ps2013-office365-project-ppm-sharepointonline-pm/
    Scroll down to the section starting with: "Before we look at creating custom fields lets have an overview.." for details on custom fields.
    You can also create Project Server custom fields and lookup tables programmatically using the PSI / CSOM / JSOM if needed.
    There are ways in which you can "sync" SharePoint columns with Project Server custom fields but this is not out of the box. You would need to look at developing your own solution or look for a 3rd party solution. Fluent Pro have a solution to sync
    Look up tables with other sources such as a SharePoint list, see the Lookup Manager here:
    http://www.fluentpro.com/project-server/other-products/products-for-project-server-2013/
    If you just want Project Server data / fields to be available as a option for a list item on a SharePoint list, look at using the BCS, an example can be seen here:
    http://blogs.catapultsystems.com/epm/archive/2010/11/02/adding-project-server-data-as-columns-to-sharepoint-sites.aspx
    Hope that helps
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS |
    MVP | Downloads

  • How to assign a default value to a column ?

    Hi
    In the Object browser is it possible to modifiy a column in order to assign a defalut value to the column ?
    I have a table FICHE in which I want to assign a default value 0 to a column which type is NUMBER.
    Thank you for your kind answers.
    Christian.

    Hi Christian
    For one reason or the other you can't do that using 'Create Column' or 'Modify Column'. You can only do that by issuing a SQL command : alter table fiche modify column( <column name> default 0)
    HTH
    Roel

  • Powershell script to change the a column value of all documents in a site.

    Hi,
    I need a powershell script to change the value of a column (a site column which has been added to all document libraries) in all documents in a site,
    For example: 
    -column 1 is a site column added to all libraries
    the value of column 1 of all documents under this site: http://intranet.doman/ex1 should be equal to V1
    the value of column 1 of all documents under this site: http://intranet.doman/ex2 should be equal to V2
    So, if I can write a powershell script to change the value of all documents in a site, I can modify it for different site that I have and run it for each of them individually,

    cls
    # Is dev version?
    $dev = $false
    # Configuration
    $termStore = "Managed Metadata Service"
    $group = "G1"
    $subjectMatterTermSetName = "Subject Matter"
    # Check if SharePoint Snapin is loaded
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {
         Add-PSSnapin Microsoft.SharePoint.PowerShell
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Taxonomy") | Out-Null
    function GetTermStore($site, $termStore, $group, $termSet) {    
        $session = New-Object Microsoft.SharePoint.Taxonomy.TaxonomySession($site)
        $termStore = $session.TermStores[$termStore]
        $group = $termStore.Groups[$group]
        $termSet = $group.TermSets[$termSet]
        return $termSet
    if($dev) {
        Write-Host "Running DEV version..."
        $webUrl = "http://Site1"   
        $libraryName = "L1"
        $subjectMatter = "C1"
    } else {
        $webUrl = Read-Host "Enter Site URL" 
        $libraryName = Read-Host "Enter Document Library name"
    $subjectMatter = Read-Host "Enter Subject Matter"
    try {
        $web = Get-SPWeb $webUrl
        $site = $web.Site
        $library = $web.Lists[$libraryName]
        $items = $library.GetItems()
        $subjectMatterTermSet = GetTermStore $site $termStore $group $subjectMatterTermSetName
        $subjectMatterTerm = $subjectMatterTermSet.GetTerms($subjectMatter,$true) | select -First 1
        foreach($item in $items) {
            if([string]::IsNullOrEmpty($item["Subject Matter"])) {     
                #Write-Host "Filename: $filename / Keywords: $keywords / Subject Matter: $subjectMatter / Document Type: $documentType"        
                Write-Host "Updating $($item["ows_FileLeafRef"])..."           
                # Set Subject Matter column
                $subjectMatterField = [Microsoft.SharePoint.Taxonomy.TaxonomyField]$item.Fields["Subject Matter"]
                $subjectMatterField.SetFieldValue($item,$subjectMatterTerm)
                # Update Item
                $item.SystemUpdate()
    catch
        $ErrorMessage = $_.Exception.Message
        Write-Host "Something went wrong. Error: $ErrorMessage" -ForegroundColor Red

  • Extracting unique values from (non-category) columns for chart

    Hello:
    I've created a worksheet to keep inventory of my Intellivision games.  It has the following columns:
    Publisher
    Class
    Network
    Title
    Quantity
    (misc...)
    The "Class" represents whether the game is "complete in box" or "loose cartridge."  The "Network" represents the general genre or game cateogory.  The quantity is how much I have of each.
    I have set the first three columns as categories:  Publisher, Class, and Network.  I also created a bar chart based on the Title and Quantity columns, to show how many I have of each.
    The problem I have is that, although it looks real cool and helps me keep the games organized, since a title can appear in more than one "Class" (e.g., I can have one in box, and two loose), the chart includes duplicates, and they are not grouped together.
    Is there a way that I can create a graph (or a secondary table) that exctracts only the UNIQUE values from a column that may contain duplicates?
    Note that I don't want to put the "Title" column in a category.  I want to group by the three major categories and list the games on each.
         -dZ.

    From the Numbers Help Menu, download the Numbers User Guide. Read the first three or four chapters to get a feel for the app. It's well written and won't take long to read that much.
    Then use the Table of Contents and the Search tool to get additional specific directions.
    First, delete all unneeded Rows and Columns from your data table. If you have patches of data in a larger table, Cut the patches and Paste them to a blank Sheet area to create separate dedicated tables for your various needs. These small special purpose tables are like Named Ranges in Excel. Name them in the Sheets Pane.
    This is how Numbers was intended to be used. The User Guide will describe how to reference cells in one table from expressions in another table. If you use the point and click method of creating references from within the equation editor it won't matter a bit that the tables are separate.
    Come back here for specific help on anything you are having trouble with.
    Jerry

  • Assigning variable to a column value

    Hi,
    I am creating a report wherein I use a formula in one of the columns to forecast data. The values obtained in this column (as a result of application of the formula) is to be used to calculate the values for the second column.And the third column value is dependent on the second and so on....
    If I use the column formula directly,then many lines of coding are involved...Is it possible to store the value of a column in a variable and hence forth use it for manipulation in subsequent columns?

    Helios,
    I'm already having the same setup mentioned in the thread. And I'm doing exactly whats given there. But the issue seems to be something different. I'm assigning the value to the Global Variable in the Package through Apex. Here's the Package Code:
    CREATE OR REPLACE PACKAGE Schema1.SPMS_SECURITY_PKG
    AS
    X_app_user_id NUMBER DEFAULT -1;
    FUNCTION USER_ID RETURN NUMBER;
    END SPMS_SECURITY_PKG;
    CREATE OR REPLACE PACKAGE BODY Schema1.spms_security_pkg
    AS
    FUNCTION user_id
    RETURN NUMBER
    IS
    BEGIN
    -- RAISE_APPLICATION_ERROR(-20001,'USER ID'||'*'||X_app_user_id);
    RETURN NVL (x_app_user_id, -1);
    -- RETURN NVL (sys_context('USERENV', 'CURRENT_USER'), -1);
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN -1;
    END;
    And Here is the Trigger Code:
    CREATE OR REPLACE TRIGGER Schema1."USER_DETAILS_TRIGGER"
    BEFORE INSERT OR UPDATE
    ON PMS_SICAL.SPMS_USER_DETAILS REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    IF INSERTING
    THEN
    :NEW.created_by := spms_security_pkg.user_id;
    :NEW.created_date := SYSDATE;
    :NEW.START_DATE := SYSDATE;
    ELSIF UPDATING
    THEN
    :NEW.updated_by := SPMS_SECURITY_PKG.X_app_user_id;--spms_security_pkg.user_id;
    :NEW.updated_date := SYSDATE;
    END IF;
    END;
    But I always get -1 in the both in the table after the DMLs.

  • How to get value in previous column and another row from Matrix with Custom Code?

    I want to calculate the value of tb_Open and tb_Close. I try to use custom code for calculate them. tb_close is correct but tb_Open is not correct that show value = 0 .
    This is example report:
    * I have 2 Dataset , Dataset1 is all data for show in my report. Dataset2 is only first Open for first month
    * First value of Open is item field in Dataset2 and this value only for first month (january). But for other month Open value get from Close in previous month.
    Detail for Red number:
    1. tb_Open -> tb_Close in previous month but first month from item field in Dataset2
    expression =FormatNumber(Code.GetOpening(Fields!month.Value,First(Fields!open.Value, "Dataset2")))
    2. tb_TOTAL1 group on item_part = 1
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)))
    3. tb_TOTAL2 group on item_part = 3 or item_part = 4
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) + ReportItems!tb_TOTAL1.Value )
    4. tb_TOTAL3 group on item_part = 2
    expression =FormatNumber(Sum(CDbl(Fields!budget.Value)) - ReportItems!tb_TOTAL2 .Value)
    5. tb_Close -> calculate from tb_TOTAL3 - tb_Open
    expression =FormatNumber(Code.GetClosing(ReportItems!tb_TOTAL3.Value,ReportItems!tb_Open.Value))
    My custom code:
    Dim Shared prev_close As Double
    Dim Shared now_close As Double
    Dim Shared now_open As Double
    Public Function GetClosing(TOTAL3 as Double,NowOpening as Double)
        now_close = TOTAL3 + NowOpening
        prev_close = now_close
        Return now_close
    End Function
    Public Function GetOpening(Month as String,NowOpen as Double)
        If Month = "1" Then
            now_open = NowOpen
        Else    
            now_open = prev_close
        End If
        Return now_open
    End Function
    Thanks alot for your help!
    Regards
    Panda A

    Looks okay to me.
    Perhaps the variables should be declared as public (?)

Maybe you are looking for

  • Adobe Creative Cloud App in LaunchPad

    There are two folders created during install that are app-specific and cannot be removed from my LaunchPad. One of the folders is called "Adobe Creative Cloud (other)" and the other folder, which is empty, is called "Adobe Application Manager (other)

  • Photoshop elements 11 albums won't sync

    Photoshop Elements 11 albums won't sync with ipad using iTunes. I was using PE10 and synced my albums using iTunes to my iPad 3 iOS 6.0 and 5.1 just fine. (itunes 10.7.0.21) I upgraded to PE11 and it goes into perpetual sync when albums are selected.

  • How to track "Date of Last user Login" across all provisioned systems ?

    We all know how hard it is to track old users - in particular ones that have left and termination paperwork has not been completed (users such as contractors, service technicians etc) Anyone think of a way where IDM could track the date/time of last

  • IPad 2 Compatibility in the UK

    hi i was wondering if i bought a ipad 2 32gb 3g in the phillipines will it work here in the UK

  • How to install D2k in Linux

    Hello, Any one can say the steps for how to install D2k in linux. Thanks&regards Dhamodaran