Set list custom property value on creation

I have a list template created, and a custom action that exposes a settings page. On the settings page, I can read / set a custom list property. I would like to be able to set the property when I'm creating the list (and have a similar requirement when
creating a site). Is there any way to expose the custom property to the "New list" dialog (Silverlight)?

Hi Ahmad,
Could you please follow the below steps to get ALL to the top:
-Edit the objects properties for which you want to apply condition.
-Click on SQl editor and check the option don't generate sql
-Write the sql as follows:
SELECT DISTINCT
TABLE NAME.COLUM NNAME
FROM
  TABLE
UNION
SELECT '*ALL' FROM TABLE
For Example:
SELECT DISTINCT
  EMP.ENAME
FROM
  EMP
UNION
SELECT '*ALL' FROM EMP
__-Create a pre defined condition in universe_:
@Select(Emp\Ename) IN @Prompt('VAL',A,'Emp\Ename',MULTI,FREE) OR '*ALL' IN @Prompt('VAL',A,'Emp\Ename',MULTI,FREE)
Note: Use '*ALL' insted of 'ALL'

Similar Messages

  • Retrieve resources ordered by a custom property value

    Hi guys,
    I'm newbie in SAP development and I have the following problem.
    I have developed a custom Java servlet which runs in SAP Portal NetWeaver '04; now, I need to retrieve a set of files in a specific RID but, they have to be ordered by a value of a custom property: does anyone can show me the way to do that?
    Is it possible to give a kind of sorting like "descendent" or "ascendant"?
    Best regards,
    Paolo

    Hello Paolo,
    I don't think you can do sorting of KM Resources with your custom property.
    My advice would be to retrieve all the Resources (Files) and do the comparing/sorting in your servlet.
    Ofcourse you can use the standard java class Comparator to do this, check this for more:
    How do you sort on IGroup's group name?
    Greetings,
    Praveen Gudapati
    p.s Points are always welcome for helpful answers

  • Setting a Custom Property - How to (cant get it to work)

    Hi Everyone...
    Have a code snippet that I think should be working, but I keep getting "bad parameter". Sought for examples, but could not find one on the site. "Creator" is a custom property we have added to the global map. Also, the incoming id is definately an objID of a group.
    Help :)
    publicstaticvoidSetCreatorProperty(intobjectID, stringcreatorString)
    IPTObjectManager ptOM;
    Object[][] vPropertyData = {
    // I've tried swapping the order, and using the int
    // value for the property
    newObject[] {creatorString,"Creator"}
    CIPTUserGroup usergroup;
    ptOM = Global.ServerSession.GetObjectManagers(PT_CLASSIDS.PT_USERGROUP_ID);
    usergroup = (CIPTUserGroup)ptOM.Open(objectID, true);
    usergroup.GetObjectProperties().SetPropertyData(vPropertyData);
    IPTServerContext sc = (IPTServerContext)usergroup.GetInterfaces("IPTServerContext");
    //Store it and unlock
    sc.Store();
    sc.UnlockObject();
    and I get this:
    Unhandled Exception: com.plumtree.server.marshalers.PTException (0x80070057): The parameter is incorrect. ---> System.ArgumentException: The parameter is incorrect. at com.plumtree.server.helper.IPTObjectProperties.SetPropertyData(Object vsaPropertyData) at com.plumtree.server.CIPTObjectProperties.SetPropertyData(Object[][] vsaPropertyData) at com.plumtree.server.CIPTObjectProperties.SetPropertyData(Object[][] vsaPropertyData) at Apollo.MySource.Tools.UserGroup.SetCreatorProperty(Int32 objectID, StringcreatorString) in c:\class libraries\mysource\apollo.mysource.tools\usergroup.cs:line 81

    OK, with some digging, I was able to find one deceptively simple solution, that I post below for your enjoyment. The trick here, which is not obvious from the docs, is that you can set as few as one property at a time on an object.
    here's how you would set up the code to set two custom properties: Cost Code and Creator:
    staticvoidMain(string[] args)
    constintPROPID_COSTCODE = 217;
    constintPROPID_CREATOR = 215;
    Object[][] vPropList = Global.makePropertyList(2); //see below
    int userGroupObjectID = 2033;
    vPropList[0][0] = PROPID_CREATOR;
    vPropList[1][0] = "AUTHSOURCE";
    vPropList[0][1] = PROPID_COSTCODE;
    vPropList[1][1] = "Cost Code value 33343-23";
    SetCustomProperties(userGroupObjectID ,vPropList);
    publicstaticvoidSetUserGroupCustomProperties(intobjectID, Object[][] vPropertyData)
    IPTObjectManager ptOM;
    CIPTUserGroup usergroup;
    ptOM = Global.ServerSession.GetObjectManagers(PT_CLASSIDS.PT_USERGROUP_ID);
    usergroup = (CIPTUserGroup)ptOM.Open(objectID, true);
    IPTObjectProperties objectProperties = usergroup.GetObjectProperties();
    objectProperties.SetPropertyData(vPropertyData);
    IPTServerContext sc = (IPTServerContext)usergroup.GetInterfaces("IPTServerContext");
    //Store it and unlock
    sc.Store();
    sc.UnlockObject();

  • Date Set from Member Property Value

    I need to create a 6Month Date Set in the cube, however instead of using the long Month Name, there is a Short Month name in the hierarchy as a Member Property to the long name (see pic below, red arrow pointing at the property) but I'm struggling creating
    the syntax for the Set.  I'm probably missing something small.  Appreciate the assistance.

    Hi Jdb09,
    Accoring to your description, you are going to create a 6 Month date set in the cube using Short Month name, now what you want is that how to use this property to create the set, right?
    Analysis Services exposes intrinsic properties on dimension members that you can include in a query to return additional data or metadata for use. So you can use the query like below.
    with member [measures].[a] as
    [Date].[Calendar].Properties( "Calendar Quarter" )
    select [measures].[a]
    on 0,
    [Date].[Calendar].[Month].members on 1
    from
    [Adventure Works]
    Reference
    http://msdn.microsoft.com/en-us/library/ms145963.aspx
    http://msdn.microsoft.com/en-us/library/ms145528.aspx
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Custom property values does not show in XML forms!

    Hi All
    I have created a property in the portal which has multiple values, I have added these values in the 'Allowed Values' section. Then in my XML form I reference this property in a combo box. I have restarted the j2EE engine and opened the form and the properties are not displayed in the combo box it is blank!
    Does anyone know why?
    Thanks in advance!

    Thanks anyways...

  • How can I add a custom property to an object, like a paragraph?

    Hi,
    We have a merge process that combine multiple document into one and I need to store the filename of the imported file at the beginning of each merge point.   Each document that we merge contains a Title paragraph and I was wrongly assuming that I could set the label property of this paragraph with my value for future references, but only to find out that the paragraph object doesn't have a label property.
    I also tried setting a custom property by doing this
    paragraph.properties["myCustomProperty"] = "value";
    It doesn't crash, but if I try reading the value it is always undefined.
    I'm looking for alternative, or on how would you approach this, can you please advice?
    Your help is much appreciated.
    Thanks

    Peter Kahrel wrote:
    You could label the paragraph's parent story. Is that any good?
    Peter.
    Well I tought about it, but then I have to find a way to keep track of which paragraph this value belongs to and so far I havent found a way to uniquely identify a paragraph and I can't assume that the merged document won't be edited so I can't use the index.
    Peter Kahrel wrote:
    Otherwise use a paragraph property that you never use and that doesn't affect composition, such as .bulletsTextAfter
    P.
    It may be an alternative, but that may cause problem in the furture if they ever decide to use or change that properties.  Plus, I'm not sure if can put anything I want in there, but that would be worth the try.

  • How to force updatedisplaylist in a skin when custom property changes

    Hi Folks,
    I have created a custom component based on a Spark Button.  In that custom component I have added a single, public, bindable property - let's call it Fred.
    I also have a custom skin, based on the Spark Button skin.  It's basically just like the delivered skin, just a bit different graphics stuff.  I have applied the custom skin to the custom button component.  So far, so good.  However...
    When a user action causes the Fred property to change on a custom button instance, I need my custom skin to re-draw something.  It appears that I need the skin's updateDisplayList function to fire.  Unfortunately, it appears that the only time that it fires is when "real" properties are changed, like 'left' or 'width'.  How can I get the custom skin to updateDisplayList when this fake, custom property changes?
    p.s. - the custom skin can 'read' the custom Fred property just fine.  And, if I set the Fred property and then 'mouse over' the custom button instance, the updateDisplayList fires...too late of course, but it does fire.
    I have read the docs, but there is not much written about updateDisplayList, or when it fires, or how to make it fire.
    Thanks,
    -David

    Good question...in my skin's 'creationComplete' event I call a function in the skin.  That function 'evaluates' the host component's Fred propertey, and based on what it finds, it draws some stuff:
    protected function doSpecialDrawing():void
         var hostFred:String = hostComponent.Fred;
         if (hostFred == "certain_value")
              //set some property in one of the path objects in my skin to a certain value
         else if (hostFred == "other_value")
              //set some property in one of the path objects in my skin to some other value
    When I created the skin, I did not anticipate the need to dynamically respond to setting the Fred property/value.
    I've placed a call to the 'doSpecialDrawing' function inside the skin's updateDisplayList, but unfortunately, the updateDisplayList does not seem to get called in real-time when I set the Fred property in a custom button instance.
    I'm all ears here... still a beginner/novice with Flex...
    Thanks,
    -David

  • List custom itemRenderer disabled state

    Is there a way to implement a disabled state on a (Spark) List ItemRenderer? I'm developing a List that has a counter on each of it's items. When a user drops that item, the counter decreases. When the item counter reaches 0 the item becomes disabled and the item image becomes black and white.
    I have the disabled state in my custom item renderer but it doens't work. It's state should become "disabled" when I set the enabled property to false.  I've tried to manually set the itemRenderer.currentState to "disabeld" and it becomes "normal" after I click on the list or if I resize the window.
    This is how it should look like (notice that only the orange item is enabled and has colors because his counter still has 9 items):
    I have no idea what's going in the background, can you please point me into the right direction?
    Here's the SWF (source enabled )
    http://dl.dropbox.com/u/6767802/Examples/ListItemDisabledIssue/Flex4ListIssue.html

    I would suggest you to go through the LifeCycle of a component. Those methods will help you manage this.
    In your case you would need a property in you dataProvider that provides the quantity. This property should set a custom property of your component. The custom property should have a setter. Call invalidateProperties() and invalidateDisplayList() to do what you are trying to do in the setter.
    You will have to override commitProperties() and updateDisplayList().

  • How to set UOO(bea_unitoforder) property within BPEL Adapter property

    Hi,
    In oracle documentation JMS message payload field values can be used as correlation properties.
    Correlation property aliases are used to define from which payload field the correlation property value is taken.
    I need to set the correlation property value from a JMS message header field instead of payload fields. (=JMS JCA Adapter properties).I have a UOO value set same for all messages.Now I need to set this WL property to JMS JCA Adapter property and then create one single instance for all messages in queue.
    Routing a New message to a (New or) Existing Instance:
    http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_correlate.htm#CHDDJEAI
    How is it possible in BPEL???
    Thanks
    Souvik

    Hi,
    In oracle documentation JMS message payload field values can be used as correlation properties.
    Correlation property aliases are used to define from which payload field the correlation property value is taken.
    I need to set the correlation property value from a JMS message header field instead of payload fields. (=JMS JCA Adapter properties).I have a UOO value set same for all messages.Now I need to set this WL property to JMS JCA Adapter property and then create one single instance for all messages in queue.
    Routing a New message to a (New or) Existing Instance:
    http://docs.oracle.com/cd/E28389_01/dev.1111/e10224/bp_correlate.htm#CHDDJEAI
    How is it possible in BPEL???
    Thanks
    Souvik

  • Can't filter community query by custom property

    I'm trying to search for a community through the objectManager based on a custom property value (part of a LoginPEI that redirects the user on login to a personalized community).  The Query() call is failing with the following exception:
        ParseQueryFilter error on clause #0
        (0x80070057) Invalid property ID specified (0xc8)
    where 0xc8 is the ID of the property I'm filtering by.
    The same code works correctly if I filter by PT_PROPIDS.PT_PROPID_NAME instead, making me think it's something about either that property in particular, or just filtering managed objects by extended props in general.   I've confirmed that the property has been added to the community object through the Global Object Property tool.
    Code shown below (and, yes, I'm aware that the results if there are more than one matching object are undefined).  Any advice appreciated.
    Thanks,
    Pete
        private int lookupObjectBySingleProperty(IPTSession session, int classId, int propertyId, Object value) {
          IPTObjectManager objectManager = session.GetObjectManagers(classId);
          Object[][] filter = {
                                new Object[] { propertyId },
                                new Object[] { PT_FILTEROPS.PT_FILTEROP_EQ },
                                new Object[] { value }
          IPTQueryResult results = objectManager.Query(
            PT_PROPIDS.PT_PROPID_OBJECTID, //Property properties
            -1, // search all folders -- might want to restrict this later
            PT_PROPIDS.PT_PROPID_OBJECTID, //sort
            0, // start at first result
            -1, // return all results
            filter); // filter
          if (results.RowCount() == 0) {
            return -1;
          return results.ItemAsInt(0, PT_PROPIDS PT_PROPID_OBJECTID);

    can you try filter this way:
    var sURI = 'http://<host>:<port>/sap/opu/odata/sap/ZTESTODATA_SRV/';
      oModel = new sap.ui.model.odata.ODataModel(sURI, false),
      sap.ui.getCore().setModel(oModel);
      var sRead = "/pdfset(customer='" + oTF.getValue() + "')"  ;
    oModel.read( sRead, null, null, true, function(oData, oResponse){
      var pdfURL = oData.url;

  • Can we set List View Lookup Threshold at site collection level ?

    Hello,
    Presently, we have requirement to set the List View Lookup Threshold  at Site Collection/Sub-Site level instead of web application level.
    Could you please let me know, are there any ways to set
    List View Lookup Threshold setting at Site Collection/Sub-Site level
    in SharePoint 2010 using Powershell/Object Model
    Also, it would be helpful if you colud let me know, upto what extent , we can drill down List View Lookup Threshold setting i.e. SubSite/List/Library-Folder.
    Thanks in advance !
    Regards,
    Sagar Acharya
    Email -  [email protected]

    Hi Sagar,
    We cannot set list view threshold value at sitecollection/subsite level. It can only be set at web application level.
    However we can bypass the 5000 limit using PowerShell command by setting “Enable Throttling”= false for particular list.
    Reference link:
    http://pravahaminfo.blogspot.in/2012/10/how-to-increase-list-view-threshold.html
    Thanks,
    Somnath Matere

  • Custom default value in view row class

    How do I set a custom default value in a view row class?
    There is no create method to override, and I cannot seem to determine whether it's a new row or existing row in the code.
    The IDE wizard says it's possible, I can't find it in the documentation.
    Thanks,
    John

    I actually need to pull the custom value from the current row of another view object.
    Client uses a combobox to select a 'Location'. Then in the other view objects, I use that location for all new rows. This way they only select their location once.

  • Customizing Property of Business Graphics UI Element

    Hello Web DynPro Developers,
    I'm trying to implement a dynamicly created Business Graphic. In order to set the properties for the "Series" (which will normaly be set through the Chart Designer) i try to deliver a XML Customizing File with the customizing properties.
    The API Documentation says that this property requieres a  URL which points to a valid XML file.
    After setting the Customizing property to a URL with an XML Configuration, the J2EE Engine does not try to retrieve the XML document (traffic watch).
    Is this a not implemented feature? How to set the configuration of Business Graphic dynamically?

    Dear Kai,
    Thanks a lot for your response.
    1. According to your suggestion (note 531668), it has been found that XMLCHART is already installed on our Integrated IGS server.
    2. According to note 1028690, it has been found that "IGS 6.40 with patch level 19 or higher" should be available, but in our case we have "IGS 6.40 with patch level 16". Now what I would like to inquire is that does upgradation have any side effects on server?
    For your information I would like to clear you that I want to use Vrinda font (its a standard font), but at present font shown in the chart is Arial.
    Do we need to install some other Interpreter (eg. GFWCHART)? or some thing else is required to show the desired standard font?
    Regards,
    Nittin

  • Allow user to apply custom property or Workflow to DAM folder

    Hi,
    Is it possible to allow an author user the ability to set a custom property (or workflow) to a folder in the DAM?
    i.e. can I create a custom property "Approved" against a DAM folder and expose it via the UI (or update it via a workflow)
    I want to apply to an entire folder (not single or multiple assets)
    Thanks!

    yes it is possible to add custom property to dam and workflow. To add custom property to dam asset you have to override "/libs/dam/components/asseteditor" form page in your application.
    also you can refer - http://dev.day.com/docs/en/cq/current/dam/customizing_and_extendingcq5dam.html
    To add custom property in workflow you have to create custom workflow component using sling resource super type as "cq/workflow/components/model/process" and add custom property in dialog. you can take example of existing workflow under /libs/wcm/workflow area.
    also you can refer - http://dev.day.com/docs/en/cq/current/workflows/wf-extending.html

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

Maybe you are looking for

  • How to Change default text in Multi-Selection Table Bar

    Hi, I would like to change the default text "Select Object" on the Multi-selection Table Bar. I tried adding the following in my resultsCO but I'm getting errors: tableBean.setTableSelectionText("<newText>"); Error(25,34): invalid method declaration;

  • Acrobat X Pro | Will not launch

    Moved to a new laptop. Deactivated Acrobat X Pro on old laptop Reinstalled Acrobat X Pro (with Sr # - not trial version) Installs OK. PDF Printer installed and works. But Acrobat will not launch, after the initial 'splash' screen. No error messages.

  • Adobe Acrobat 6.0 not compatible with windows 7

    Hello, Some years ago I bought Adobe Acrobat 6.0 which I placed on my old computer. Now I have a new computer with windows 7 and the acrobat 6.0 version apears not compatible with this windows version. Does anyone know a solution? Thanks in advance.

  • Adding a link to a file

    I have an MP3 file uploaded in my Public folder on Mobile Me. I am using iWeb to create my home page and want to make a link to this file. Is the only way to do this to share it, send a link to myself (that does not expire) and then use this link on

  • What type of cord do I need to hook my ipad up to a stereo?

    I am a dance instructor and I am wondering how to hook my ipad up to a stereo to play music