Questions tagged [custom-properties]

Use the custom-properties tag for questions relating to using non-standard or ad hoc properties in programming languages, APIs, or programming tools that allow them. For questions about custom properties in CSS, use the css-variables tag, instead.

Custom properties are just that: non-standard or ad hoc properties in programming languages, APIs, or programming tools that allow them to be defined by the programmer when writing code or during run time. For questions about custom properties in CSS, use the tag, instead.

115 questions
0
votes
1 answer

Sharepoint 2010 Custom properties

I'm building a webpart for Sharepoint 2010. I can create custom properties which are editable through the Sharepoint user interface. No problem there. The problem is: I want to use a custom object(Properties.cs) to define those same properties(and…
Rickjaah
  • 581
  • 1
  • 6
  • 16
0
votes
1 answer

Key/Value custom webPart property - Sharepoint 2010

Couldn't find any related resources I want to add a custom property to my visual webPart, the normal way of adding properties not working with type of Dictionary [Personalizable(), WebBrowsable(), WebDisplayName("News Sources"),…
Rami Alshareef
  • 7,015
  • 12
  • 47
  • 75
0
votes
1 answer

Not getting Function value in variable in officejs

I am using custom property in the outlook add-in. I had saved some custom property. Now, I'm retrieving it in a local variable. While I'm retrieving the custom property at that time it's showing undefined. I had pasted the code. I want to store…
0
votes
0 answers

bpy: Delete custom properties that aren't API defined

I have a addon for Blender where I'm using custom properties and I would like to delete any custom property that isn't API defined. In my project I have an enumerator that acts like a dropdown menu to choose between different property groups(where…
D3STINY
  • 1
  • 1
0
votes
1 answer

Add custom properties to MQTT message for sending to Azure IoT Hub

I have sent messages from device to Azure IoT Hub using MQTT client (like mosquitto). But I want to add custom properties to these messages like the standard SDK of Microsoft. Is there any suggestion for that? Any idea will be really appreciated.…
Anh Tu
  • 75
  • 7
0
votes
1 answer

Custom property Visio - VBA

First of all, I'm a newbie in VBA, and I'm trying to write some scripts for existing Visio document for automation purposes. I see that my Visio file has objects with custom properties, and I want to play with those custom properties. (I know that…
bailofwZ
  • 123
  • 1
  • 10
0
votes
0 answers

Auto Generated excel document producing server error on custom properties

My team has coded auto generating excel reports of business data in c# and openxml. This is fine when opened from a local drive, but when opened from sharepoint it produces the following error We believe its something to do with with these custom…
Jienno
  • 1
  • 1
0
votes
0 answers

CSS set background by concatenating custom property

With the following HTML element
and the following styles: .img { background: url('/images/' var(--img-name) '-desktop.jpg'); } the background doesn't get applied. I thought I could…
0
votes
1 answer

Dynamically calculated value for scriptproperty

The script below is a part of a bigger project of converting msgs to pdfs. What I'm having problem with implementing is the attachments custom property. I'd like is for it to take custom value based on calculated value based on msg attachments. The…
0
votes
1 answer

Setting the Interval of a Timer in an UserControl causes the whole Project and Visual Studio to freeze

The original code comes from this answer: How to animate dots in UserControl Paint event? private void DotsTimer_Tick(object sender, EventArgs e) { currentDot += 1; currentDot %= m_NumberOfDots; dotsTimer.Interval = TimerInterval; …
jhon last
  • 109
  • 6
0
votes
1 answer

Google Drive Custom file Properties limitation

Is someone please explain the meaning of "totaled from all sources" which described at below https://developers.google.com/drive/api/guides/properties Maximum of 100 custom properties per file, totaled from all sources. Maximum of 30 public…
Erika Kay
  • 145
  • 7
0
votes
1 answer

Modified custom property given back from getPropertyValue in some cases

I found a weired problem when working with custom properties. Definition in css file: --testprop: /test/01234; When I access this property by calling const style = window.getComputedStyle(window.document.body); const testprop =…
Peter Vogel
  • 101
  • 1
  • 4
0
votes
1 answer

Is there Web Container custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader="true" equivalent in Open liberty?

In WAS Liberty documentation I can find the Web Container Custom property com.ibm.ws.webcontainer.suppresserrorpageodrheader…
0
votes
1 answer

Prevent duplication of CSS custom properties when using prefers-color-scheme

I handle theming on my web app using around 60 custom properties. Currently I have 2 themes: light and dark (original I know). Because the dark theme can be set using the user's preference (via a class) as well as being based on their OS preference…
Chris Spittles
  • 15,023
  • 10
  • 61
  • 85